We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cda163d commit 508d6ceCopy full SHA for 508d6ce
1 file changed
.github/workflows/release.yml
@@ -32,7 +32,7 @@ jobs:
32
printf '::error file=README.md,line=%d::version does not match tag\n' "${line}"
33
rc=1
34
fi
35
- if [[ $(jq -r .version package.json) != "${GITHUB_REF_NAME}" ]]; then
+ if [[ $(jq -r .version package.json) != "${GITHUB_REF_NAME#v}" ]]; then
36
line="$(grep -Fn '"version":' package.json | cut -d: -f1)"
37
printf '::error file=package.json,line=%d::version does not match tag\n' "${line}"
38
0 commit comments