Skip to content
This repository was archived by the owner on Jul 30, 2024. It is now read-only.

Commit f78fa09

Browse files
author
Scott Bommarito
authored
Prevent $Branch overwriting (#100)
1 parent 649f3ac commit f78fa09

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

build.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ param (
1111
[string]$SemanticVersion = '1.0.0-zlocal',
1212
[string]$Branch,
1313
[string]$CommitSHA,
14-
[string]$BuildBranch = 'da881231d9ae9c966d0c18824f09f0122008e765'
14+
[string]$BuildBranch = 'a8c27302d8720d094c2dce87e00324d84b4697b2'
1515
)
1616

1717
# For TeamCity - If any issue occurs, this script fails the build. - By default, TeamCity returns an exit code of 0 for all powershell scripts, even if they fail
@@ -27,7 +27,7 @@ if (-not (Test-Path "$PSScriptRoot/build")) {
2727
New-Item -Path "$PSScriptRoot/build" -ItemType "directory"
2828
}
2929
wget -UseBasicParsing -Uri "https://raw.githubusercontent.com/NuGet/ServerCommon/$BuildBranch/build/init.ps1" -OutFile "$PSScriptRoot/build/init.ps1"
30-
. "$PSScriptRoot/build/init.ps1" -Branch "$BuildBranch"
30+
. "$PSScriptRoot/build/init.ps1" -BuildBranch "$BuildBranch"
3131

3232
Function Clean-Tests {
3333
[CmdletBinding()]

0 commit comments

Comments
 (0)