Skip to content

Commit 508d6ce

Browse files
committed
CI: update the release workflow
1 parent cda163d commit 508d6ce

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
printf '::error file=README.md,line=%d::version does not match tag\n' "${line}"
3333
rc=1
3434
fi
35-
if [[ $(jq -r .version package.json) != "${GITHUB_REF_NAME}" ]]; then
35+
if [[ $(jq -r .version package.json) != "${GITHUB_REF_NAME#v}" ]]; then
3636
line="$(grep -Fn '"version":' package.json | cut -d: -f1)"
3737
printf '::error file=package.json,line=%d::version does not match tag\n' "${line}"
3838
rc=1

0 commit comments

Comments
 (0)