We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2789e81 commit d13a9eaCopy full SHA for d13a9ea
.github/workflows/publish.yml
@@ -13,7 +13,7 @@ jobs:
13
node-version: 12
14
- name: Check tag version
15
run: |
16
- VERSION=$(npm show . version)
+ VERSION=$(node -e 'console.info(require("./package.json").version)')
17
if [ "refs/tags/v${VERSION}" != $GITHUB_REF ]; then
18
echo "Ref ${GITHUB_REF} not match"
19
exit 1
0 commit comments