Skip to content

Commit f6f4752

Browse files
committed
Update release.yml
1 parent 395e415 commit f6f4752

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,10 @@ jobs:
5555

5656
- name: Update version from tag
5757
run: |
58-
VERSION="${GITHUB_REF#refs/tags/v}"
58+
VERSION="${GITHUB_REF#refs/tags/}"
59+
VERSION="${VERSION#v}"
5960
echo "VERSION=${VERSION}" >> $GITHUB_ENV
60-
./.github/versions.sh "${VERSION}"
61+
./.github/versions.sh "${GITHUB_REF#refs/tags/}"
6162
shell: bash
6263

6364
- name: Install Rust

0 commit comments

Comments
 (0)