Skip to content

Commit 8fc544c

Browse files
committed
fix bash syntax
1 parent 07f576b commit 8fc544c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/release-packages.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ jobs:
2222
- name: Set VERSION variable from tag
2323
shell: bash
2424
run: |
25-
$version = "${{ github.ref_name }}" -replace '^v', ''
26-
echo "VERSION=$version" >> $GITHUB_ENV
25+
echo "VERSION=${GITHUB_REF_NAME#v}" >> $GITHUB_ENV
2726
2827
- name: Set archive name
2928
shell: bash

0 commit comments

Comments
 (0)