Skip to content

Commit

Permalink
Remove 'refs/tags/' from github tag.
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-santa committed Aug 7, 2020
1 parent 8123cd4 commit 55ae76e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/publish-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ jobs:
java-version: 1.11

- name: Publish packages
run: gradle -Pversion="$VERSION_TAG" publish
run: gradle -Pversion="$(echo $GITHUB_REF | sed 's/refs\/tags\///g')" publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VERSION_TAG: ${{ github.REF }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 55ae76e

Please sign in to comment.