...
Run the following commands to generate and upload all built artifacts to the Sonatype staging repository:
No Format |
---|
mvn checkout -b local-release mvn release:clean mvn release:prepare -DdryRun -DreleaseVersion=X.X.X -DdevelopmentVersion=X.X.Y-SNAPSHOT -DautoVersionSubmodules -DpushChanges=false mvn release:clean && mvn release:prepare -DreleaseVersion=X.X.X -DdevelopmentVersion=X.X.Y-SNAPSHOT -DautoVersionSubmodules -DpushChanges=false |
...
Warning |
---|
Up until this point, all of the changes made are strictly in your local repository and working directory. From this point on, the changes you make will be visible to the world and in some cases difficult to back-out of. |
No Format |
---|
git checkout masterlocal-release git push origin local-release:master git push origin --tags |
- return to the release tag
...