...
Info |
---|
You will be asked about the release versions. Make sure you enter a correct tag: apache-empire-db-[version]-rc[nr]. Once the release vote passes we can then copy this -rcX tag to the final version tag. |
Code Block |
---|
>mvn6>mvn7 clean install ... >mvn6>mvn7 clean release:clean ... >mvn6>mvn7 release:prepare -Papache-release ... [INFO] Checking dependencies and plugins for snapshots ... What is the release version for "Apache Empire-db Parent"? (org.apache.empire-db:empire-db-parent) 2.0.5: : What is SCM release tag or label for "Apache Empire-db Parent"? (org.apache.empire-db:empire-db-parent) empire-db-parent-2.0.5: : apache-empire-db-2.0.5-rc3 What is the new development version for "Apache Empire-db Parent"? (org.apache.empire-db:empire-db-parent) 2.0.6-SNAPSHOT: : [INFO] Transforming 'Apache Empire-db Parent'... [INFO] Updating empire-db to 2.0.5 ... |
...
If anything goes wrong during the release you can do a rollback:
Code Block |
---|
>mvn6>mvn7 release:rollback |
Also run a svn diff/revert to make sure your working copy is clean
...
This step will upload the artifacts the the staging repository
Code Block |
---|
>mvn6>mvn7 release:perform |
Close the staging repository
...
Code Block |
---|
>svn checkout https://svn.apache.org/repos/asf/empire-db/tags/apache-empire-db-2.0.5-rc3 ... >cd apache-empire-db-2.0.5-rc3/empire-db-dist/ >mvn6>mvn7 clean install -Papache-release >./checksums.sh ... All Done. Files available in ./target |
...