We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b62d21 commit 7c171b4Copy full SHA for 7c171b4
release.sh
@@ -1,7 +1,4 @@
1
#!/usr/bin/env bash
2
-env | grep MAVEN_GPG_PASSPHRASE > /dev/null
3
-if [ $? -eq 1 ]; then
4
- echo "Environment variable 'MAVEN_GPG_PASSPHRASE' is missing. Set it to empty if there is no passphrase."
5
- exit 1
6
-fi
+# Prime gpg-agent caches. See https://maven.apache.org/plugins/maven-gpg-plugin/usage.html
+echo "test" | gpg --clearsign > /dev/null
7
./mvnw --batch-mode clean release:prepare release:perform && git push && git push --tags
0 commit comments