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
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -174,18 +174,19 @@ The command to export a public key is as follows:
174
174
175
175
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.
176
176
177
-
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.
178
-
179
177
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>
180
178
181
179
mvn release:prepare
182
180
183
181
When asked for a tag name, accept the default value (in the following format: `vX.Y.Z`).
184
182
185
-
2. Perform the release using the following command:
183
+
2. Perform the release using the following command - though be aware you cannot rollback as shown above after that. That may need to happen if there are site problems further below. To start over, use 'git reset --hard last-hash-before-release-started' , then 'git push --delete origin vX.Y.Z':
186
184
187
185
mvn release:perform
188
186
187
+
The created artifacts i.e. zip files can be checked with, for example, 'sha512sum axis2-2.0.0-bin.zip' which should match the generated axis2-2.0.0-bin.zip.sha512 file. 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.
188
+
189
+
189
190
3. Login to Nexus and close the staging repository. For more details about this step, see
190
191
[here](https://maven.apache.org/developers/release/maven-project-release-procedure.html) and [here](https://infra.apache.org/publishing-maven-artifacts.html#promote).
191
192
@@ -197,7 +198,7 @@ The created artifacts i.e. zip files can be checked with, for example, sha512sum
197
198
cd axis-site
198
199
cp -r axis2/java/core/ axis2/java/core-staging
199
200
git add axis2/java/core-staging
200
-
git commit -am "core-staging"
201
+
git commit -am "create core-staging dir as a prerequisite for the publish-scm plugin"
201
202
git push
202
203
203
204
6. Change to the `target/checkout` directory and prepare the site using the following commands:
@@ -207,6 +208,7 @@ The created artifacts i.e. zip files can be checked with, for example, sha512sum
207
208
208
209
Now go to the `target/scmpublish-checkout` directory (relative to `target/checkout`) and check that there
209
210
are no unexpected changes to the site. Then commit the changes.
211
+
Update: This plugin has a problem with specifying the core-staging with the git URL. See https://issues.apache.org/jira/browse/MSITE-1033 . For now, copy the output of the scmpublish-checkout dir listed above to the core-staging dir created earlier in this doc.
210
212
211
213
The root dir of axis-site has a .asf.yaml file, referenced here at target/scmpublish-checkout/.asf.yaml, that is <ahref="https://github.com/apache/infrastructure-asfyaml/blob/main/README.md"> documented here. </a>
0 commit comments