diff --git a/azure-pipelines.yml b/azure-pipelines.yml index b686cb7..048b7e2 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -130,7 +130,7 @@ jobs: - pwsh: dotnet --info displayName: .NET Information - pwsh: | - $officialBuild = '$(Build.SourceBranch)' -match '^refs/tags/[0-9]+\.[0-9]+\.[0-9]+' + $officialBuild = '$(Build.SourceBranch)' -match '^refs/tags/v[0-9]+\.[0-9]+\.[0-9]+' $wipBuild = '$(Build.SourceBranch)' -match '^refs/heads/.*-wip$' $ciBuildOnly = $wipBuild -or ('$(Build.SourceBranch)' -match '^refs/heads/(?:master|.*-servicing)$') $continuousIntegrationTimestamp = Get-Date -Format yyyyMMddHHmmss