We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7ac016b + 3ce3291 commit f26cab5Copy full SHA for f26cab5
builds/build-release.yaml
@@ -37,7 +37,7 @@ stages:
37
Write-Host "Branch: $(Build.SourceBranch)"
38
Write-Host "BranchName: $(Build.SourceBranchName)"
39
40
- $version = "$(Build.SourceBranchName)" -replace "v", ""
+ $version = "$(Build.SourceBranchName)".TrimStart("v")
41
Write-Host "Version: $version"
42
Write-Host "##vso[task.setvariable variable=Version]$version"
43
0 commit comments