Skip to content

Commit 37422c2

Browse files
committed
correct typo with linux build number
1 parent df2c1a3 commit 37422c2

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,9 +142,8 @@ jobs:
142142
- name: Get version from tag
143143
if: startsWith(github.ref, 'refs/tags/')
144144
run: |
145-
$VERSION = "$env:GITHUB_REF" -replace "refs/tags/v", ""
146-
echo "VERSION=$VERSION" >> $env:GITHUB_ENV
147-
echo "Set VERSION to: $VERSION"
145+
VERSION="${GITHUB_REF#refs/tags/v}"
146+
echo "VERSION=$VERSION" >> $GITHUB_ENV
148147
149148
- name: Install build deps
150149
run: |

0 commit comments

Comments
 (0)