Skip to content

Commit b9871f6

Browse files
committed
chore(ci): Enforce tag == version and does not start with v
1 parent c02bdc1 commit b9871f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/deno_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ jobs:
106106
steps:
107107
- uses: actions/checkout@v4
108108
- name: Check tag matches ${{ github.ref_name }}
109-
run: jq -e ".version==\"${TAG#v}\"" deno.json
109+
run: jq -e ".version[:1] != \"v\" and .version==\"$TAG\"" deno.json
110110
env:
111111
TAG: ${{ github.ref_name }}
112112
- uses: denoland/setup-deno@v2

0 commit comments

Comments
 (0)