...
http://yetus.apache.org/contribute/releases/
Basic Outline:
Dependencies
- You need to be a commiter
- Basic Rya
- Checkout, build, test Rya
- Setting up PGP
- Getting software
- creating a key
- publishing a key
- adding your key to id.apache.org
- Setting up Maven to push to apache repo
- Username/pass in maven settings
- Testing settings
- Testing locally:
- mvn clean install -Papache-release
Testing by pushing to apache snapshot repo
mvn clean deploy -Papache-release
- Testing locally:
Staging a release
note: I followed these instructions: http://www.apache.org/dev/publishing-maven-artifacts.html#prepare-poms
- Update Rya
- Build a push a signed snapshot
mvn clean deploy -Papache-release
Do some manual checks:
Make sure there are no dependencies on snapshots in the POMs to be released
Check that your POMs will not lose content when they are rewritten during the release process
mvn release:prepare -Papache-release -DdryRun=true
Diff the original file pom.xml with the one called pom.xml.tag to see if the license or any other info has been removed
Prepare release
mvn release:clean
mvn release:prepare
- Stage release for a vote
mvn release:perform
References:
http://www.apache.org/dev/publishing-maven-artifacts.html