Skip to content

Commit

Permalink
Replace ref to a proper version
Browse files Browse the repository at this point in the history
  • Loading branch information
MiniDigger committed Nov 30, 2019
1 parent c5bbf66 commit b8e20c1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/Publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
echo "Bumping version to $GITHUB_REF"
yarn version --new-version $GITHUB_REF
version=$(echo "$GITHUB_REF" | sed "s/refs\/tags\/v//")
echo "Bumping version to $version"
yarn version --new-version $version
git push "https://$GITHUB_ACTOR:$GITHUB_TOKEN@github.com/$GITHUB_REPOSITORY"
- name: Publish
Expand Down

0 comments on commit b8e20c1

Please sign in to comment.