[fix] fix artifacts name with version number

This commit is contained in:
dijunkun
2025-08-15 20:07:18 +08:00
parent b051c8a059
commit 85cdc995c5

View File

@@ -152,6 +152,7 @@ jobs:
run: |
$ref = $env:GITHUB_REF
$version = $ref -replace '^refs/(tags|heads)/', ''
$version = $version -replace '^v', ''
$version = $version -replace '/', '-'
echo "VERSION_NUM=$version" >> $env:GITHUB_ENV