mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix(ci): fixed $vesrion being empty in packages.yaml (#5650)
This commit is contained in:
@@ -27,7 +27,7 @@ jobs:
|
||||
echo "Installer URL: $installer_url"
|
||||
|
||||
# The package version is the same as the tag minus the leading "v".
|
||||
$version = $env:CODER_VERSION -replace "^v", ""
|
||||
$version = $env:CODER_VERSION.Trim('v')
|
||||
|
||||
echo "Package version: $version"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user