-
Cleanup
mvn release:clean
delete git tag, if needed:
git tag -d v0.1.0
-
Prepare the release:
mvn release:prepare \ -Dresume=false \ -DpushChanges=false
-
Perform the release
GPG_TTY=$(tty) && \ export GPG_TTY && \ mvn release:perform -DlocalCheckout=true
In case of GPG error
gpg: signing failed: Screen or window too small
, try this:
gpg -K --keyid-format SHORT
-
Push
git push origin git push origin --tags