From a276173cfa6891a5c4ab68db01f52ca0a083ad56 Mon Sep 17 00:00:00 2001 From: Laurents Meyer Date: Sat, 28 Nov 2020 15:01:14 +0100 Subject: [PATCH] Official builds use a tag prefix of 'v'. --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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