Release Instructions

These instructions are based on the instructions for deploying to the Central Repository using Maven.

Note: this section only applies for internal Spotify developers.

You will need the following: - Sign up for a Sonatype account here - Ask for permissions to push to com.spotify domain like in this ticket - GPG set up on the machine you’re deploying from

Once you’ve got that in place, you should be able to do deployment using the following commands:

# setup credentials
export SONATYPE_USERNAME=<your Sonatype username>
export SONATYPE_PASSWORD=<your Sonatype password>

# deploy snapshot version
mvn clean deploy --settings settings.xml # -Prelease to test signing

# make and deploy a release
mvn release:clean release:prepare release:perform --settings settings.xml

Then update https://github.com/spotify/zoltar/releases with release notes!