ci: fix version check

This commit is contained in:
Vendicated 2023-01-29 00:12:27 +01:00
parent 823fa2d0c3
commit e32388e3ac
No known key found for this signature in database
GPG Key ID: A1DC0CFB5615D905
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ jobs:
- name: check that tag matches package.json version
run: |
pkg_version="$(jq -r .version < package.json)"
pkg_version="v$(jq -r .version < package.json)"
if [[ "${{ github.ref_name }}" != "$pkg_version" ]]; then
echo "Tag ${{ github.ref_name }} does not match package.json version $pkg_version" >&2
exit 1