...
- They need to be a Rya Commiter
As a Rya Commiter, the Release Manager will have access to several really important tools used throughout the release process. This includes write access to the official Apache Rya Git Repo, the Apache Jenkins Server, and the Apache Nexus Server. - Checkout and Build Rya
The Release Manager should verify that they can checkout, build, and test Apache Rya on their machine.Checkout code from Git
Code Block git clone https://git-wip-us.apache.org/repos/asf/incubator-rya.git incubator-rya-apache
Build and Test Apache Rya
Code Block mvn clean install
- Setting up a PGP Key
The Release manager needs a PGP Key and this key needs to be public.- Getting software
- creating a key
- publishing a key
- adding your key to id.apache.org
- Adding your key to project key list (we currently don't have this)
- 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:
- The first two items listed here need to be done (i.e. get some software to create a key, and create a key). I'm not sure about the last three.
- Getting software
Use gpg-agent, and be sure to increase the gpg-agent cache timeout (via .gnupg/gpg-agent.conf) to ensure that the agent doesn’t require re-authentication mid-build, as it will cause things to fail. For example, you can add default-cache-ttl 6000 to increase the timeout from the default of 10 minutes to over an hour. If you do not have a GPG key, reference the very thorough ASF release signing documentation.
make sure you reset gpg-agent:
echo RELOADAGENT | gpg-connect-agent
- Creating a key
- Publishing a key to a public server
- Adding your key to id.apache.org
- Adding your key to project key list (we currently don't have this)
- Getting software
- 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
...