diff options
author | Jesse Morgan <morganjm@amazon.com> | 2015-03-02 16:13:03 -0800 |
---|---|---|
committer | Jesse Morgan <morganjm@amazon.com> | 2015-03-02 16:13:03 -0800 |
commit | 47485f2ff341d84217bf7c160f030c6685e5ef3f (patch) | |
tree | 626db205a5e920a96c4580643ac32e4d0cac2d44 /RELEASING.md | |
parent | 51d486867a0f610f034f1934e6d494e5d302f383 (diff) |
Updating POM to deploy v1.2.4 to Maven.v1.2.4
Diffstat (limited to 'RELEASING.md')
-rw-r--r-- | RELEASING.md | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/RELEASING.md b/RELEASING.md new file mode 100644 index 0000000..db0c504 --- /dev/null +++ b/RELEASING.md @@ -0,0 +1,46 @@ +RELEASING +========= + +This file outlines how to publish a new release to Maven Central. + +Prerequisites +------------- + +* You will need the Carbonado GPG key and passphrase to continue. Contact + @jesterpm or @broneill to obtain them. + +* You will need an account with Sonatype Nexus. You can create that + [here](https://issues.sonatype.org/secure/Signup!default.jspa). Contact + @jesterpm or @broneill for access to the Cojen repository. + +Process +------- + +1. Increment the version number appropriately. + Use [Semantic Versioning](http://semver.org/). + + VERSION=1.2.4 + mvn versions:set -DnewVersion=$VERSION + +2. Verify the release and make sure all is well. + + mvn clean verify -P release + +3. Commit and tag the latest release. + + git commit -am "Release $VERSION" + git tag -a v$VERSION -m "Release $VERSION" + +4. Deploy to Sonatype: + + mvn clean deploy -P release + +5. Push commit and tag to GitHub + + git push origin master + git push origin v$VERSION + +6. Create a new Releases on GitHub. Use the tag you just created and optionally + include a change log. Attach the compiled, sources, and javadoc jar files, + along with the .asc signature files. + |