-
Notifications
You must be signed in to change notification settings - Fork 187
Releasing
aslakhellesoy edited this page Jan 30, 2012
·
11 revisions
Releases are made with Maven. You need the following software installed:
- Maven 3
- GPG (If you're on a Mac, install GPGTools for OS X)
- GPG-Agent must be running
- Mac: make sure GPG Keychain Access is running.
- Linux: Install gpg-agent (on Ubuntu: apt-get install gnupg-agent) and run in your environment
- To test gpg-agent is running, this should not ask for a passphrase:
gpg -ab pom.xml
- Upload your public key - this is necessary to promote the release.
You also need a sonatype account and a ~/.m2/settings.xml
file with your credentials. See Sonatype OSS Maven Repositories.
Make sure the POM file has a SNAPSHOT version. The release plugin will bump it during the release process.
If you need to change the local SSH key first:
ssh-agent bash
ssh-add ~/.ssh/your-github-key
Now you can release:
make release
When you have done this, log into Sonatype and Close and Release (just leave the comments empty, since we don't know who will ever read them).
A few hours later the jars will be synched to Maven Central. You can verify this by searching for webbit at http://search.maven.org/