From 72cd3d7c43496540aacf7affac8007ddbc46c700 Mon Sep 17 00:00:00 2001 From: Livar Cunha Date: Thu, 5 Jan 2017 12:40:23 -0800 Subject: [PATCH] Pinning stage0 to latest and reverting build scripts to use stage0 for now. --- build/Microsoft.DotNet.Cli.Test.targets | 10 +++++----- build/compile/Microsoft.DotNet.Cli.LzmaArchive.targets | 4 ++-- build/package/Microsoft.DotNet.Cli.Installer.DEB.proj | 2 +- .../package/Microsoft.DotNet.Cli.Installer.MSI.targets | 2 +- build/package/Microsoft.DotNet.Cli.Nupkg.targets | 4 ++-- run-build.ps1 | 4 ++-- run-build.sh | 4 ++-- 7 files changed, 15 insertions(+), 15 deletions(-) diff --git a/build/Microsoft.DotNet.Cli.Test.targets b/build/Microsoft.DotNet.Cli.Test.targets index 71a4ecd59..eb9e98c36 100644 --- a/build/Microsoft.DotNet.Cli.Test.targets +++ b/build/Microsoft.DotNet.Cli.Test.targets @@ -42,7 +42,7 @@ TestProject=%(TestProjects.ProjectPath); TestProjectName=%(TestProjects.OutputName); TestResultXmlDir=$(TestResultXmlDir); - ToolPath=$(Stage2Directory); + ToolPath=$(Stage0Directory); WorkingDirectory=%(TestProjects.ProjectDir) @@ -79,7 +79,7 @@ Outputs="%(TestProjects.BuildOutput)"> @@ -91,7 +91,7 @@ Outputs="@(RestoreTestsInputs->'%(RelativeDir)/obj/project.assets.json');@(RestoreTestsInputs->'%(RelativeDir)/obj/%(Filename).csproj.nuget.g.props');@(RestoreTestsInputs->'%(RelativeDir)/obj/%(Filename).csproj.nuget.g.targets')"> - @@ -217,7 +217,7 @@ @@ -231,7 +231,7 @@ + ToolPath="$(Stage0Directory)" /> - - + + ToolPath="$(Stage0Directory)" /> diff --git a/build/package/Microsoft.DotNet.Cli.Installer.MSI.targets b/build/package/Microsoft.DotNet.Cli.Installer.MSI.targets index f80aa83e8..e1f6ba617 100644 --- a/build/package/Microsoft.DotNet.Cli.Installer.MSI.targets +++ b/build/package/Microsoft.DotNet.Cli.Installer.MSI.targets @@ -144,7 +144,7 @@ + -DotnetDir '$(Stage0Directory)'" /> @@ -36,7 +36,7 @@ - diff --git a/run-build.ps1 b/run-build.ps1 index 947356f63..8b70746ed 100644 --- a/run-build.ps1 +++ b/run-build.ps1 @@ -103,8 +103,8 @@ if ($LastExitCode -ne 0) # install the post-PJnistic stage0 $dotnetInstallPath = Join-Path $toolsLocalPath "dotnet-install.ps1" -Write-Host "$dotnetInstallPath -Version ""1.0.0-preview5-004384"" -InstallDir $env:DOTNET_INSTALL_DIR -Architecture ""$Architecture""" -Invoke-Expression "$dotnetInstallPath -Version ""1.0.0-preview5-004384"" -InstallDir $env:DOTNET_INSTALL_DIR -Architecture ""$Architecture""" +Write-Host "$dotnetInstallPath -Version ""1.0.0-preview5-004392"" -InstallDir $env:DOTNET_INSTALL_DIR -Architecture ""$Architecture""" +Invoke-Expression "$dotnetInstallPath -Version ""1.0.0-preview5-004392"" -InstallDir $env:DOTNET_INSTALL_DIR -Architecture ""$Architecture""" if ($LastExitCode -ne 0) { Write-Output "The .NET CLI installation failed with exit code $LastExitCode" diff --git a/run-build.sh b/run-build.sh index d1c1450d0..553393b83 100755 --- a/run-build.sh +++ b/run-build.sh @@ -163,8 +163,8 @@ if [ $? != 0 ]; then fi # now execute the script -echo "installing CLI: $dotnetInstallPath --version \"1.0.0-preview5-004384\" --install-dir $DOTNET_INSTALL_DIR --architecture \"$ARCHITECTURE\"" -$dotnetInstallPath --version "1.0.0-preview5-004384" --install-dir $DOTNET_INSTALL_DIR --architecture "$ARCHITECTURE" +echo "installing CLI: $dotnetInstallPath --version \"1.0.0-preview5-004392\" --install-dir $DOTNET_INSTALL_DIR --architecture \"$ARCHITECTURE\"" +$dotnetInstallPath --version "1.0.0-preview5-004392" --install-dir $DOTNET_INSTALL_DIR --architecture "$ARCHITECTURE" if [ $? != 0 ]; then echo "run-build: Error: Boot-strapping post-PJ stage0 with exit code $?." >&2 exit $?