Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
monperrus committed Jul 5, 2018
1 parent 362a868 commit db0fd4a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Expand Up @@ -79,9 +79,14 @@ Deploy
To deploy a new version on Maven Central:

* Deploy from Travis directly (easier, all keys configured in .travis.yml):
* Prepare branch "deploy"
* `git branch -D deploy` (delete previous release)
* `git checkout -b deploy`
* Update version number (if it ends with "-SNAPSHOT" it is pushed as Snapshot otherwise as release)
* Commit to branch "deploy" (only this branch deploys to Maven Central)
* `git commit -m release pom.xml`
* Push to branch "deploy" (you have to force push)
* `git push origin deploy -f`
* Deploy from localhost:
* Update version number
* `mvn -Prelease verify deploy:deploy`
Expand Down

0 comments on commit db0fd4a

Please sign in to comment.