Skip to content

Commit

Permalink
make pom great again
Browse files Browse the repository at this point in the history
  • Loading branch information
ian-otto committed Apr 7, 2020
1 parent 43c01d5 commit 43bec4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/mavenpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
run: mvn -B package --file pom.xml

- name: Publish to GitHub Packages Apache Maven
run: mvn deploy -s $GITHUB_WORKSPACE/settings.xml -Dgpg.passphrase="$GPG_PASSPHRASE" -Drevision="$GITHUB_REF"
run: mvn deploy -s $GITHUB_WORKSPACE/settings.xml -Dgpg.passphrase="$GPG_PASSPHRASE" -Drevision="$(echo $GITHUB_REF | sed -En 's/refs\/tags\///p')"
env:
GITHUB_TOKEN: ${{ github.token }}
GPG_PASSPHRASE: ${{ secrets.gpg_passphrase }}
Expand Down

0 comments on commit 43bec4e

Please sign in to comment.