-
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 \ -DprojectVersionPolicyId=SemVerVersionPolicy
-
Perform the release
GPG_TTY=$(tty) && \ export GPG_TTY && \ mvn release:perform -DlocalCheckout=true
-
Push
git push origin git push origin --tags