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.
1 parent 3c8817a commit 90b7fe1Copy full SHA for 90b7fe1
azure-pipelines.yml
@@ -75,7 +75,7 @@ stages:
75
inputs:
76
targetType: 'inline'
77
script: |
78
- $version = if ("$(Build.SourceBranch)" -match '^/refs/tags/(?<Tag>.+)') {
+ $version = if ("$(Build.SourceBranch)" -match '^refs/tags/(?<Tag>.+)') {
79
# Github version tags usually begin with a "v", but we just want the number
80
$matches.Tag -replace '^v'
81
}
0 commit comments