From 2b13e57102f5d8a357754d4f8a005a9e60693648 Mon Sep 17 00:00:00 2001 From: Siegfried Pammer Date: Thu, 8 Oct 2020 21:55:34 +0200 Subject: [PATCH] Fix pipelines-install.ps1 --- BuildTools/pipelines-install.ps1 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/BuildTools/pipelines-install.ps1 b/BuildTools/pipelines-install.ps1 index 718e13f0e..7e73f3c60 100644 --- a/BuildTools/pipelines-install.ps1 +++ b/BuildTools/pipelines-install.ps1 @@ -4,7 +4,7 @@ $baseCommit = "d779383cb85003d6dabeb976f0845631e07bf463"; $baseCommitRev = 1; # make sure this matches artifacts-only branches list in appveyor.yml! -$masterBranches = '^(master|release/.+)$'; +$masterBranches = '^refs/heads/(master|release/.+)$'; $globalAssemblyInfoTemplateFile = "ILSpy/Properties/AssemblyInfo.template.cs"; @@ -21,7 +21,8 @@ if ($versionName -ne "null") { } else { $versionName = ""; } -if ($env:BUILD_SOURCEBRANCHNAME -match $masterBranches) { + +if ($env:BUILD_SOURCEBRANCH -match $masterBranches) { $branch = ""; } else { $branch = "-$env:BUILD_SOURCEBRANCHNAME";