|
|
@ -3,8 +3,8 @@ $ErrorActionPreference = "Stop" |
|
|
|
$baseCommit = "d779383cb85003d6dabeb976f0845631e07bf463"; |
|
|
|
$baseCommit = "d779383cb85003d6dabeb976f0845631e07bf463"; |
|
|
|
$baseCommitRev = 1; |
|
|
|
$baseCommitRev = 1; |
|
|
|
|
|
|
|
|
|
|
|
# make sure this list matches artifacts-only branches list in azure-pipelines.yml! |
|
|
|
# make sure this matches artifacts-only branches list in appveyor.yml! |
|
|
|
$masterBranches = @("master", "5.0.x"); |
|
|
|
$masterBranches = '^(master|release/.+)$'; |
|
|
|
|
|
|
|
|
|
|
|
$globalAssemblyInfoTemplateFile = "ILSpy/Properties/AssemblyInfo.template.cs"; |
|
|
|
$globalAssemblyInfoTemplateFile = "ILSpy/Properties/AssemblyInfo.template.cs"; |
|
|
|
|
|
|
|
|
|
|
@ -21,7 +21,7 @@ if ($versionName -ne "null") { |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
$versionName = ""; |
|
|
|
$versionName = ""; |
|
|
|
} |
|
|
|
} |
|
|
|
if ($masterBranches -contains $env:BUILD_SOURCEBRANCHNAME) { |
|
|
|
if ($env:BUILD_SOURCEBRANCHNAME -match $masterBranches) { |
|
|
|
$branch = ""; |
|
|
|
$branch = ""; |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
$branch = "-$env:BUILD_SOURCEBRANCHNAME"; |
|
|
|
$branch = "-$env:BUILD_SOURCEBRANCHNAME"; |
|
|
|