Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
executable file 19 lines (15 sloc) 358 Bytes
echo "Starting new gpg-agent"
gpg --armor --detach-sign --use-agent --sign pom.xml
if [ $? -ne 0 ] ; then
echo "ERROR: Unable to run gpg properly"
exit 1
gpg --verify pom.xml.asc
if [ $? -ne 0 ]; then
rm pom.xml.asc
echo "It appears that you fat-fingered your GPG passphrase"
exit 1
rm pom.xml.asc
mvn release:prepare --batch-mode
Something went wrong with that request. Please try again.