diff --git a/Scripts/publish-release.sh b/Scripts/publish-release.sh index 3aac67d..105a0e8 100755 --- a/Scripts/publish-release.sh +++ b/Scripts/publish-release.sh @@ -33,7 +33,7 @@ major|minor|patch|prerelease) echo "usage $0 " >&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