Skip to content

Commit 375ffc8

Browse files
committed
fix: correct shell quoting in release workflow
1 parent 17b1f87 commit 375ffc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
- name: Verify version match
3838
run: |
3939
TAG_REF="${{ github.event.inputs.tag || github.ref_name }}"
40-
PACKAGE_VERSION="v$(node -p \"require('./package.json').version\")"
40+
PACKAGE_VERSION="v$(node -p 'require("./package.json").version')"
4141
if [ "$PACKAGE_VERSION" != "$TAG_REF" ]; then
4242
echo "Error: Package version ($PACKAGE_VERSION) doesn't match tag ($TAG_REF)"
4343
exit 1

0 commit comments

Comments
 (0)