Skip to content

Commit

Permalink
Extract version number from github env var
Browse files Browse the repository at this point in the history
  • Loading branch information
wadetandy committed Sep 23, 2020
1 parent edf455c commit afe24ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ jobs:
node-version: 12
registry-url: https://registry.npmjs.org/
- run: yarn install
- run: yarn publish --access public --new-version $GITHUB_REF
- run: yarn publish --access public --new-version ${GITHUB_REF#refs/tags/}
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

0 comments on commit afe24ca

Please sign in to comment.