diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml
index d3979d8a4d9..554c16e792f 100644
--- a/eng/Version.Details.xml
+++ b/eng/Version.Details.xml
@@ -1,88 +1,88 @@
-
+
https://github.com/dotnet/aspnetcore
- f84bb5c4ea8b6f248c0df89753b09926487109f1
+ 19f1321aa92911d6e1f66090313f2db9a543021f
-
+
https://github.com/dotnet/aspnetcore
- f84bb5c4ea8b6f248c0df89753b09926487109f1
+ 19f1321aa92911d6e1f66090313f2db9a543021f
-
+
https://github.com/dotnet/aspnetcore
- f84bb5c4ea8b6f248c0df89753b09926487109f1
+ 19f1321aa92911d6e1f66090313f2db9a543021f
-
+
https://github.com/dotnet/aspnetcore
- f84bb5c4ea8b6f248c0df89753b09926487109f1
+ 19f1321aa92911d6e1f66090313f2db9a543021f
-
+
https://github.com/dotnet/aspnetcore
- f84bb5c4ea8b6f248c0df89753b09926487109f1
+ 19f1321aa92911d6e1f66090313f2db9a543021f
-
+
https://github.com/dotnet/aspnetcore
- f84bb5c4ea8b6f248c0df89753b09926487109f1
+ 19f1321aa92911d6e1f66090313f2db9a543021f
-
+
https://github.com/dotnet/aspnetcore
- f84bb5c4ea8b6f248c0df89753b09926487109f1
+ 19f1321aa92911d6e1f66090313f2db9a543021f
-
+
https://github.com/dotnet/runtime
- cf2938f44fc1494ae984c52a1568a03d51e513ca
+ 5842db2c301cb1752ae854232a4fbae51d4a9ed0
-
+
https://github.com/dotnet/runtime
- cf2938f44fc1494ae984c52a1568a03d51e513ca
+ 5842db2c301cb1752ae854232a4fbae51d4a9ed0
https://github.com/dotnet/aspnetcore
20b6779cf3af2fed6a8fe64a0865cfab50b776bb
-
+
https://github.com/dotnet/runtime
- cf2938f44fc1494ae984c52a1568a03d51e513ca
+ 5842db2c301cb1752ae854232a4fbae51d4a9ed0
-
+
https://github.com/dotnet/runtime
- cf2938f44fc1494ae984c52a1568a03d51e513ca
+ 5842db2c301cb1752ae854232a4fbae51d4a9ed0
-
+
https://github.com/dotnet/runtime
- cf2938f44fc1494ae984c52a1568a03d51e513ca
+ 5842db2c301cb1752ae854232a4fbae51d4a9ed0
-
+
https://github.com/dotnet/runtime
- cf2938f44fc1494ae984c52a1568a03d51e513ca
+ 5842db2c301cb1752ae854232a4fbae51d4a9ed0
-
+
https://github.com/dotnet/runtime
- cf2938f44fc1494ae984c52a1568a03d51e513ca
+ 5842db2c301cb1752ae854232a4fbae51d4a9ed0
-
+
https://github.com/dotnet/runtime
- cf2938f44fc1494ae984c52a1568a03d51e513ca
+ 5842db2c301cb1752ae854232a4fbae51d4a9ed0
-
+
https://github.com/dotnet/runtime
- cf2938f44fc1494ae984c52a1568a03d51e513ca
+ 5842db2c301cb1752ae854232a4fbae51d4a9ed0
-
+
https://github.com/dotnet/runtime
- cf2938f44fc1494ae984c52a1568a03d51e513ca
+ 5842db2c301cb1752ae854232a4fbae51d4a9ed0
-
+
https://github.com/dotnet/arcade
- 7f52af24016a4b749a2c1f219105c0f5a7100028
+ b03966cd85285e425ffe56003c0ab57e103dd14e
diff --git a/eng/Versions.props b/eng/Versions.props
index 80638fa9a8e..a7319e58731 100644
--- a/eng/Versions.props
+++ b/eng/Versions.props
@@ -49,24 +49,24 @@
-->
- 6.0.0-preview.7.21357.12
- 6.0.0-preview.7.21357.12
- 6.0.0-preview.7.21357.12
- 6.0.0-preview.7.21357.12
- 6.0.0-preview.7.21357.12
- 6.0.0-preview.7.21357.12
- 6.0.0-preview.7.21357.12
- 6.0.0-preview.7.21351.2
- 6.0.0-preview.7.21351.2
- 6.0.0-preview.7.21351.2
- 6.0.0-preview.7.21351.2
- 6.0.0-preview.7.21351.2
- 6.0.0-preview.7.21351.2
- 6.0.0-preview.7.21351.2
+ 6.0.0-rc.1.21367.4
+ 6.0.0-rc.1.21367.4
+ 6.0.0-rc.1.21367.4
+ 6.0.0-rc.1.21367.4
+ 6.0.0-rc.1.21367.4
+ 6.0.0-rc.1.21367.4
+ 6.0.0-rc.1.21367.4
+ 6.0.0-rc.1.21366.15
+ 6.0.0-rc.1.21366.15
+ 6.0.0-rc.1.21366.15
+ 6.0.0-rc.1.21366.15
+ 6.0.0-rc.1.21366.15
+ 6.0.0-rc.1.21366.15
+ 6.0.0-rc.1.21366.15
6.0.0-alpha.1.21072.5
- 6.0.0-preview.7.21351.2
- 6.0.0-preview.7.21351.2
- 6.0.0-preview.7.21351.2
+ 6.0.0-rc.1.21366.15
+ 6.0.0-rc.1.21366.15
+ 6.0.0-rc.1.21366.15
powershell invocations
# as dot sourcing isn't possible.
@@ -223,7 +263,7 @@ function GetDotNetInstallScript([string] $dotnetRoot) {
if (!(Test-Path $installScript)) {
Create-Directory $dotnetRoot
$ProgressPreference = 'SilentlyContinue' # Don't display the console progress UI - it's a huge perf hit
- $uri = "https://dot.net/$dotnetInstallScriptVersion/dotnet-install.ps1"
+ $uri = "https://dotnet.microsoft.com/download/dotnet/scripts/$dotnetInstallScriptVersion/dotnet-install.ps1"
Retry({
Write-Host "GET $uri"
@@ -632,6 +672,17 @@ function ExitWithExitCode([int] $exitCode) {
exit $exitCode
}
+# Check if $LASTEXITCODE is a nonzero exit code (NZEC). If so, print a Azure Pipeline error for
+# diagnostics, then exit the script with the $LASTEXITCODE.
+function Exit-IfNZEC([string] $category = "General") {
+ Write-Host "Exit code $LASTEXITCODE"
+ if ($LASTEXITCODE -ne 0) {
+ $message = "Last command failed with exit code $LASTEXITCODE."
+ Write-PipelineTelemetryError -Force -Category $category -Message $message
+ ExitWithExitCode $LASTEXITCODE
+ }
+}
+
function Stop-Processes() {
Write-Host 'Killing running build processes...'
foreach ($processName in $processesToStopOnExit) {
diff --git a/eng/common/tools.sh b/eng/common/tools.sh
index 05ca99c6b28..828119be411 100755
--- a/eng/common/tools.sh
+++ b/eng/common/tools.sh
@@ -54,7 +54,7 @@ warn_as_error=${warn_as_error:-true}
use_installed_dotnet_cli=${use_installed_dotnet_cli:-true}
# Enable repos to use a particular version of the on-line dotnet-install scripts.
-# default URL: https://dot.net/v1/dotnet-install.sh
+# default URL: https://dotnet.microsoft.com/download/dotnet/scripts/v1/dotnet-install.sh
dotnetInstallScriptVersion=${dotnetInstallScriptVersion:-'v1'}
# True to use global NuGet cache instead of restoring packages to repository-local directory.
@@ -262,7 +262,7 @@ function with_retries {
function GetDotNetInstallScript {
local root=$1
local install_script="$root/dotnet-install.sh"
- local install_script_url="https://dot.net/$dotnetInstallScriptVersion/dotnet-install.sh"
+ local install_script_url="https://dotnet.microsoft.com/download/dotnet/scripts/$dotnetInstallScriptVersion/dotnet-install.sh"
if [[ ! -a "$install_script" ]]; then
mkdir -p "$root"
diff --git a/global.json b/global.json
index c4189b22240..c136bbfe12d 100644
--- a/global.json
+++ b/global.json
@@ -18,7 +18,7 @@
"version": "6.0.100-preview.4.21255.9"
},
"msbuild-sdks": {
- "Microsoft.DotNet.Arcade.Sdk": "6.0.0-beta.21351.2",
+ "Microsoft.DotNet.Arcade.Sdk": "6.0.0-beta.21366.1",
"Yarn.MSBuild": "1.22.10"
}
}