Skip to content

Commit 043a35a

Browse files
committed
fix: ref_name in publish script
1 parent 331c1f0 commit 043a35a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
run: |
1616
echo "package.json version: v$(jq -r .version package.json)"
1717
echo "git tag: ${{ github.ref }}"
18-
if [ "v$(jq -r .version package.json)" != "${{ github.ref }}" ]; then
18+
if [ "v$(jq -r .version package.json)" != "${{ github.ref_name }}" ]; then
1919
echo "package.json version does not match git tag"
2020
exit 1
2121
fi

0 commit comments

Comments
 (0)