1 parent 8af9dd5 commit 2bf13b2Copy full SHA for 2bf13b2
1 file changed
.github/workflows/publish-jsr.yml
@@ -44,12 +44,12 @@ jobs:
44
shell: bash
45
run: |
46
set -euo pipefail
47
- tag="${{ inputs.tag || github.ref_name }}"
48
- tag="${tag#v}"
+ raw_tag="${{ inputs.tag || github.ref_name }}"
+ tag="${raw_tag#v}"
49
version="$(node -p "require('./deno.json').version")"
50
51
if [[ "${tag}" != "${version}" ]]; then
52
- echo "Tag (${GITHUB_REF_NAME}) does not match deno.json version (${version})."
+ echo "Tag (${raw_tag}) does not match deno.json version (${version})."
53
exit 1
54
fi
55
@@ -63,7 +63,7 @@ jobs:
63
64
# Tokenless publishing requires linking the JSR package to this GitHub repository
65
# in the package settings on jsr.io, and OIDC enabled via `id-token: write`.
66
- deno publish
+ npx jsr publish
67
68
- name: Generate release notes
69
0 commit comments