fix(ci): fixed $vesrion being empty in packages.yaml (#5650)

This commit is contained in:
Muhammad Atif Ali
2023-01-10 10:40:06 -06:00
committed by GitHub
parent 4f3ac95a39
commit dda8170427
+1 -1
View File
@@ -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"