Skip to content

Commit 3e783e4

Browse files
Merge pull request #3 from TimeWarpEngineering/Cramer/2025-10-08/dev
Fix release workflow to strip 'v' prefix from version tag
2 parents 94b0199 + 4a8f3e1 commit 3e783e4

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,10 @@ jobs:
2020
dotnet-quality: 'preview'
2121

2222
- name: Extract version from tag
23-
run: echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
23+
run: |
24+
VERSION=${GITHUB_REF#refs/tags/}
25+
VERSION=${VERSION#v}
26+
echo "VERSION=$VERSION" >> $GITHUB_ENV
2427
2528
- name: Restore dependencies
2629
run: dotnet restore

0 commit comments

Comments
 (0)