Skip to content

Commit 4f03591

Browse files
committed
fix(Windows): fix windows packaging
1 parent cfa86d1 commit 4f03591

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/CD.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ jobs:
6666
- name: Generate package
6767
id: package
6868
run: |
69-
version="${GITHUB_REF##*/*/v}"
70-
echo ::set-output name=version::$version
69+
$version = ${env:GITHUB_REF} -replace 'refs\/tags\/v', ''
70+
echo "::set-output name=version::$version"
7171
npm install
7272
npm run build -- $version python${{ matrix.python }}-win64
7373
env:

0 commit comments

Comments
 (0)