You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: community/releasing-curator.md
+12-12
Original file line number
Diff line number
Diff line change
@@ -13,23 +13,23 @@ To release Curator, the following steps must be followed:
13
13
14
14
## Prepare the Release
15
15
16
-
1. Do a dry run of the release/prepare step by executing `mvn -P apache-release release:prepare -DdryRun=true`. The dry run will not commit any changes back to Git and gives you the opportunity to verify that the release process will complete as expected. If you need to cancel, execute `mvn release:clean` and then reset via `git reset --hard`.
16
+
1. Do a dry run of the release/prepare step by executing `./mvnw -P apache-release release:prepare -DdryRun=true`. The dry run will not commit any changes back to Git and will allow you to verify that the release process will be completed as expected. If you need to cancel, execute `./mvnw release:clean` and then reset via `git reset --hard`.
17
17
2. Verify that the release process completed as expected:
18
-
* The release plugin will create `pom.xml.tag` files which contain the changes that would have been committed to SVN. The only differences between `pom.xml.tag` and its corresponding `pom.xml` file should be the version number.
19
-
* If other formatting changes have been made you should review the changes and then commit and push them.
20
-
* Once any failures or required updates have been committed to svn, rollback the release prepare files: `mvn release:rollback`
18
+
* The release plugin will create `pom.xml.tag` files, which contain the changes that would have been committed to SVN. The only difference between `pom.xml.tag` and its corresponding `pom.xml` file should be the version number.
19
+
* If other formatting changes have been made, you should review the changes and then commit and push them.
20
+
* Once any failures or required updates have been committed to svn, rollback the release prepare files: `./mvnw release:rollback`
21
21
3. Execute the release/prepare step for real this time
22
22
* You'll be prompted for the same version information and optionally your GPG
23
23
* passphrase again
24
-
*mvn -P apache-release release:prepare
25
-
*mvn -P apache-release release:perform
26
-
* git push --tags
24
+
*`./mvnw -P apache-release release:prepare`
25
+
*`./mvnw -P apache-release release:perform`
26
+
*`git push --tags`
27
27
4. Verify the staged artifacts in the Apache Nexus repository:
28
28
* Go to: https://repository.apache.org/index.html
29
29
* Login
30
-
* Select Staging Repositories under the Build Promotion section on the lefthand side
30
+
* Select Staging Repositories under the Build Promotion section on the left-hand side
31
31
* Select the repository from the main window
32
-
* Select the content tab at the bottom of the screen and navigate through the artifact tree and doublecheck things.
32
+
* Select the content tab at the bottom of the screen and navigate through the artifact tree and double-check things.
33
33
5. Close the Nexus staging repo by clicking on the curator repo and clicking the "Close" button.
34
34
35
35
:::caution
@@ -40,12 +40,12 @@ DO NOT release the binaries yet.
40
40
41
41
## Stage the Apache Release
42
42
43
-
1. At the root of your Curator directory, find the target directory.
44
-
2. In the directory you will now find 3 files that need to be staged:
43
+
1. At the root of your Curator directory, find the `target` directory.
44
+
2. In the directory, you will now find 3 files that need to be staged:
45
45
* apache-curator-X.X.X-source-release.zip
46
46
* apache-curator-X.X.X-source-release.zip.asc
47
47
* apache-curator-X.X.X-source-release.zip.sha512
48
-
3. These files must be put into the staging directory (svn co https://dist.apache.org/repos/dist/dev/curator/)
48
+
3. These files must be put into the staging directory (`svn co https://dist.apache.org/repos/dist/dev/curator/`)
49
49
* Create a directory for the release
50
50
*`cp` the files to this directory
51
51
* Remove any old release directories via: `svn rm`
0 commit comments