...
- Send an email to dev@ with the scope of the release and the release timelines atleast a week before the planned release start date
- Create a new branch for the release, if necessary.
- Update Atlas version in all pom files (to the release version)
- Verify the sources in the release branch with the following steps:
- builds cleanly with empty local mvn repo(~/.m2/repostory):
mvn clean install &&
- packaging & distro creation completes successfully:
mvn clean package -Pdist,embedded-hbase-solr
- Atlas installed with the created binary package is functional
- builds cleanly with empty local mvn repo(~/.m2/repostory):
Prepare keys
Generate new PGP key: http://www.apache.org/dev/openpgp.html#generate-key
Checkout atlas release repo using svn:
svn co https://dist.apache.org/repos/dist/release/atlas atlas-release
- Add your key to atlas/KEYS:
(gpg --list-sigs <your name> \ && gpg --armor --export <your name>) >> atlas-release/KEYS
Commit atlas-release
e.g.
(gpg --list-sigs "John Smith" \
&& gpg --armor --export "John Smith") >> atlas-release/KEYS - Verify KEYS file to see if your PGP key has been added successfully, svn commit modified KEYS file in atlas-release:
cd atlas-release
svn add KEYS
svn commit KEYS -m "Added GPG Key for <your name> to KEYS file" --username <apache user-id>
Prepare source package
- Go to atlas code with the release branch
git tag -a release-0.8.1-rc0 -m "Atlas 0.8.1-rc0 release"
git push origin release-0.8.1-rc0
mvn clean package -Pdist -DskipTests
...