-
Notifications
You must be signed in to change notification settings - Fork 1
Releasing
Adam Dierkens edited this page May 25, 2017
·
3 revisions
mvn -Prelease -Pgpg clean deploy
If you get an error saying
[INFO] --- maven-gpg-plugin:1.6:sign (sign-artifacts) @ snapshot4j ---
gpg: signing failed: Inappropriate ioctl for device
gpg: signing failed: Inappropriate ioctl for device
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
run export GPG_TTY=$(tty)
and re-run mvn -Prelease -Pgpg clean deploy
mvn -Prelease -Pgpg release:clean
mvn -Prelease -Pgpg release:prepare
Enter in the correct semver, and next release
mvn -Prelease -Pgpg release:perform
Then go to https://oss.sonatype.org/ and release from there