Skip to content

Commit

Permalink
Fix show version
Browse files Browse the repository at this point in the history
  • Loading branch information
ngs committed Jun 2, 2020
1 parent 2789e81 commit d13a9ea
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 @@ -13,7 +13,7 @@ jobs:
node-version: 12
- name: Check tag version
run: |
VERSION=$(npm show . version)
VERSION=$(node -e 'console.info(require("./package.json").version)')
if [ "refs/tags/v${VERSION}" != $GITHUB_REF ]; then
echo "Ref ${GITHUB_REF} not match"
exit 1
Expand Down

0 comments on commit d13a9ea

Please sign in to comment.