NOTE: The information in this file is outdated since OAK-5007 aligned this module's release cycle with the rest of Oak.
TODO: Remove or update this file once we clarified the release modalities for Segment Tar wrt. Oak 1.8
This HOWTO explains how to release Oak Segment Tar. I describe the steps required to release version $VERSION
, assuming that the latest released version is $PREV
and the next is $NEXT
.
- Execute
mvn release:prepare
. - Execute
mvn release:perform
. - Close the staged Maven repository.
- Log in to https://repository.apache.org.
- Click on "Staging Repositories".
- Click on the repository.
- Click on "Close".
- Start the vote on oak-dev. See the vote template below.
- Wait 72 hours.
A vote is successful if it has at least three +1 and if the number of -1 is less than the number of +1.
- Close the vote on oak-dev. See the results template below.
- Copy the artifacts to the release repository.
- Execute the
check_staged_release.sh
script if you haven't already. - Move to the temporary folder created by the script where the artifacts are.
- Execute
svn import https://dist.apache.org/repos/dist/release/jackrabbit/oak/oak-segment-tar/$VERSION
.
- Execute the
- Delete the old release.
- Execute
svn rm https://dist.apache.org/repos/dist/release/jackrabbit/oak/oak-segment-tar/$PREV
.
- Execute
- Release the staged Maven repository.
- Log in to https://repository.apache.org.
- Click on "Staging Repositories".
- Click on the repository.
- Click on "Release".
- Release the version on Jira.
- Go to https://issues.apache.org/jira/plugins/servlet/project-config/OAK/versions.
- Create version $NEXT if it doesn't already exist.
- Move your mouse on the $VERSION version.
- Click on the gear icon.
- Click on release.
- Select "Move issues to version:".
- Select version $NEXT from the dropdown box.
- Enter the release date. The release date is the day the vote ended.
- Remove the release tag from Subversion.
- Execute
svn rm http://svn.apache.org/repos/asf/jackrabbit/oak/tags/oak-segment-tar-$VERSION
.
- Execute
- Drop the staged Maven repository.
- Log in to https://repository.apache.org.
- Click on "Staging Repositories".
- Click on the repository.
- Click on "Drop".
- Rollback the version information in
pom.xml
.
Substitute the following information in the body of the mail:
- The number of fixed and closed issues.
- The URL of the version in Jira.
- The number of the staging repository.
This information is not a function of the released version, so it has to be manually entered at every release.
Subject: [VOTE] Release Apache Jackrabbit Oak Segment Tar version $VERSION
Hi,
We solved 5 issues in this release:
https://issues.apache.org/jira/browse/OAK/fixforversion/12337966
There are still some outstanding issues:
https://issues.apache.org/jira/browse/OAK/component/12329487
Staging repository:
https://repository.apache.org/content/repositories/orgapachejackrabbit-1162
You can use this UNIX script to download the release and verify the signatures:
http://svn.apache.org/repos/asf/jackrabbit/oak/trunk/check_staged_release.sh
Usage:
sh check_staged_release.sh 1162 /tmp/oak-staging
Please vote to approve this release:
[ ] +1 Approve the release
[ ] 0 Don't care
[ ] -1 Don't release, because ...
This majority vote is open for at least 72 hours.
[RESULT][VOTE] Release Apache Jackrabbit Oak Segment Tar version $VERSION
Hi,
The vote passes as follows:
+1 First voter
+1 Second voter
+1 Third voter
Thanks for voting. I'll push the release out.