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: src/site/markdown/release-process.md
+16-9Lines changed: 16 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -156,25 +156,32 @@ The following things are required to perform the actual release:
156
156
157
157
In order to prepare the release artifacts for vote, execute the following steps:
158
158
159
-
1. Start the release process using the following command:
159
+
If not yet done, export your public key and <ahref="https://dist.apache.org/repos/dist/release/axis/axis2/java/core/KEYS"> append it there. </a>
160
+
161
+
If not yet done, also export your public key to the dev area and <ahref="https://dist.apache.org/repos/dist/release/axis/axis2/java/core/KEYS"> append it there. </a>
162
+
163
+
The command to export a public key is as follows:
164
+
165
+
<code>gpg --armor --export key_id</code>
166
+
167
+
If you have multiple keys, you can define a ~/.gnupg/gpg.conf file for a default. Note that while 'gpg --list-keys' will show your public keys, using maven-release-plugin with the command 'release:perform' below requires 'gpg --list-secret-keys' to have a valid entry that matches your public key, in order to create 'asc' files that are used to verify the release artifcats. 'release:prepare' creates the sha512 checksum files.
168
+
169
+
The created artifacts i.e. zip files can be checked with, for example, sha512sum 'axis2-2.0.0-bin.zip.asc' which should match the generated sha512 files. In that example, use 'gpg --verify axis2-2.0.0-bin.zip.asc axis2-2.0.0-bin.zip' to verify the artifacts were signed correctly.
170
+
171
+
1. Start the release process using the following command - use 'mvn release:rollback' to undo and be aware that in the main pom.xml there is an apache parent that defines some plugin versions<ahref="https://maven.apache.org/pom/asf/"> documented here. </a>
160
172
161
173
mvn release:prepare
162
174
163
175
When asked for a tag name, accept the default value (in the following format: `vX.Y.Z`).
164
-
The execution of the `release:prepare` goal may occasionally fail because `svn.apache.org`
165
-
resolves to one of the geolocated SVN mirrors and there is a propagation delay between
166
-
the master and these mirrors. If this happens,
167
-
wait for a minute (so that the mirrors can catch up with the master) and simply rerun the command.
168
-
It will continue where the error occurred.
169
176
170
177
2. Perform the release using the following command:
171
178
172
179
mvn release:perform
173
180
174
181
3. Login to Nexus and close the staging repository. For more details about this step, see
4. Execute the `target/checkout/etc/dist.py` script to upload the distributions.
184
+
4. Execute the `target/checkout/etc/dist.py` script to upload the source and binary distributions to the development area of the <ahref="https://dist.apache.org/repos/dist/"> repository. </a>
178
185
179
186
5. Create a staging area for the Maven site:
180
187
@@ -204,7 +211,7 @@ In order to prepare the release artifacts for vote, execute the following steps:
204
211
If the vote passes, execute the following steps:
205
212
206
213
1. Promote the artifacts in the staging repository. See
0 commit comments