Skip to content

Commit

Permalink
shell quoting
Browse files Browse the repository at this point in the history
  • Loading branch information
jhheider authored Dec 10, 2024
1 parent b59378a commit 7aef3af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Scripts/publish-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ major|minor|patch|prerelease)
echo "usage $0 <major|minor|patch|prerelease|VERSION>" >&2
exit 1;;
*)
if test "$(npx -- semver \"$1\")" != "$1"; then
if test "$(npx -- semver """$1""")" != "$1"; then
echo "$1 doesn't look like valid semver."
exit 1
fi
Expand Down

0 comments on commit 7aef3af

Please sign in to comment.