-
Notifications
You must be signed in to change notification settings - Fork 86
Releasing
Christian Kaltepoth edited this page Aug 19, 2016
·
6 revisions
If you belong to the (very small) group of people with a localized Git version, do this to work around MRELEASE-812:
$ export LANG=C
Prepare the GPG agent and use what to keep the GPG session alive
$ gpg2 --clearsign -o /dev/null /etc/issue
$ watch "echo PING | gpg2 --clearsign"
$ git checkout master
$ git fetch --all
$ git merge origin/master
$ git merge upstream/master
$ git checkout -b release
$ mvn clean release:clean
$ mvn release:prepare -Dgpg.executable=gpg2 -Darguments="-DskipTests"
What is the release version for "rewrite-parent"? <---- Release version
What is SCM release tag or label for "rewrite-parent"? <---- Just confirm the tag name
What is the new development version for "rewrite-parent"? <---- Next SNAPSHOT version
$ mvn release:perform -Dgpg.executable=gpg2 -Darguments="-DskipTests"
- Close repository
- Check that everything looks good
- Release!
$ git checkout 2.0.0.Alpha4
$ mvn clean install javadoc:aggregate
Result:
target/site/apidocs
distribution/target/*.zip
$ git checkout master
$ git merge release
$ git branch -d release
$ git push upstream
$ git push upstream --tags