Skip to content

Commit 8253f16

Browse files
committed
Chore: Optimize release.yml
Signed-off-by: xcaspar <[email protected]>
1 parent 9c9215f commit 8253f16

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ jobs:
2727
- name: Set version from tag
2828
run: |
2929
VERSION=${GITHUB_REF#refs/tags/}
30+
# Remove 'v' prefix if present
31+
VERSION=${VERSION#v}
3032
echo "BLADE_VERSION=$VERSION" >> $GITHUB_ENV
3133
echo "Building version: $VERSION"
3234

0 commit comments

Comments
 (0)