This repository has been archived by the owner on Sep 28, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 211
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8b879a2
commit 4b392ed
Showing
1 changed file
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Deploying Instructions | ||
|
||
These instructions are based on the [instructions](http://central.sonatype.org/pages/ossrh-guide.html) | ||
for deploying to the Central Repository using [Maven](http://central.sonatype.org/pages/apache-maven.html). | ||
Note that this is for Spotify internal use only. | ||
|
||
You will need the following: | ||
- The username and password that Spotify uses to deploy to the Central Repository as described in | ||
the open source manual on the internal wiki. | ||
- [GPG set up on the machine you're deploying from](http://central.sonatype.org/pages/working-with-pgp-signatures.html) | ||
|
||
Once you've got that in place, you should be able to do deployment using the following commands: | ||
|
||
``` | ||
# deploy snapshot version | ||
mvn clean deploy | ||
# make and deploy a relase | ||
mvn release:clean release:prepare -Prelease | ||
mvn release:perform | ||
``` |