Change CHANNEL for the rel/1.0.0 branch

So it publishes builds to separate channel than rel/1.0.0-preview2.
This commit is contained in:
Eric Erhardt 2016-06-06 13:44:47 -05:00
parent 1791d8ddb4
commit c3b1bb05f6
3 changed files with 6 additions and 3 deletions

View file

@ -5,4 +5,4 @@ MAJOR_VERSION=1
MINOR_VERSION=0
PATCH_VERSION=0
RELEASE_SUFFIX=preview3
CHANNEL=preview
CHANNEL=rel-1.0.0

View file

@ -56,7 +56,9 @@ if (!(Test-Path $env:DOTNET_INSTALL_DIR))
# Install a stage 0
Write-Host "Installing .NET Core CLI Stage 0 from branchinfo channel"
& "$RepoRoot\scripts\obtain\dotnet-install.ps1" -Channel $env:CHANNEL -Architecture $Architecture -Verbose
#TODO change 'preview' channel back to $env:CHANNEL when we have a first build in the current channel
& "$RepoRoot\scripts\obtain\dotnet-install.ps1" -Channel preview -Architecture $Architecture -Verbose
if($LASTEXITCODE -ne 0) { throw "Failed to install stage0" }
# Put the stage0 on the path

View file

@ -85,7 +85,8 @@ done < "$REPOROOT/branchinfo.txt"
[ -z "$DOTNET_INSTALL_DIR" ] && export DOTNET_INSTALL_DIR=$REPOROOT/.dotnet_stage0/$(uname)
[ -d "$DOTNET_INSTALL_DIR" ] || mkdir -p $DOTNET_INSTALL_DIR
$REPOROOT/scripts/obtain/dotnet-install.sh --channel $CHANNEL --verbose
#TODO change 'preview' channel back to $env:CHANNEL when we have a first build in the current channel
$REPOROOT/scripts/obtain/dotnet-install.sh --channel preview --verbose
# Put stage 0 on the PATH (for this shell only)
PATH="$DOTNET_INSTALL_DIR:$PATH"