diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f3b1546..1ef50a4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -40,7 +40,9 @@ jobs: - name: Deploy run: | + gpg --list-secret-keys export GPG_TTY=$(tty) + echo "test" | gpg --clearsign chmod +x scripts/deploy.sh ./scripts/deploy.sh diff --git a/scripts/deploy.sh b/scripts/deploy.sh index 9eb9215..43138b4 100644 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -7,7 +7,7 @@ then then VERSION_NUMBER=${TAG:1} echo "on a tag -> set pom.xml to $VERSION_NUMBER" - mvn --settings scripts/settings.xml org.codehaus.mojo:versions-maven-plugin:2.1:set -DnewVersion=$VERSION_NUMBER 1>/dev/null 2>/dev/null + mvn --settings scripts/settings.xml org.codehaus.mojo:versions-maven-plugin:2.1:set -DnewVersion=$VERSION_NUMBER 1>/dev/null 2>/dev/null -e -X else echo "Tag does not start with v: ${TAG} keep snapshot version in pom.xml" fi