Update dependencies from https://github.com/dotnet/arcade build 20190111.6
This change updates the following dependencies - Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19061.6
This commit is contained in:
parent
14d2114d98
commit
bce6bf4000
3 changed files with 18 additions and 8 deletions
|
@ -24,9 +24,9 @@
|
|||
</Dependency>
|
||||
</ProductDependencies>
|
||||
<ToolsetDependencies>
|
||||
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="1.0.0-beta.19060.8">
|
||||
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="1.0.0-beta.19061.6">
|
||||
<Uri>https://github.com/dotnet/arcade</Uri>
|
||||
<Sha>67384d20d310611afc1c2b4dd3b953fda182def4</Sha>
|
||||
<Sha>52d4b539dd1ab771015bdf33ed4221afcaaabf3d</Sha>
|
||||
</Dependency>
|
||||
</ToolsetDependencies>
|
||||
</Dependencies>
|
||||
|
|
|
@ -1,7 +1,11 @@
|
|||
param (
|
||||
$darcVersion = $null
|
||||
)
|
||||
|
||||
$verbosity = "m"
|
||||
. $PSScriptRoot\tools.ps1
|
||||
|
||||
function InstallDarcCli {
|
||||
function InstallDarcCli ($darcVersion) {
|
||||
$darcCliPackageName = "microsoft.dotnet.darc"
|
||||
|
||||
$dotnetRoot = InitializeDotNetCli -install:$true
|
||||
|
@ -12,11 +16,17 @@ function InstallDarcCli {
|
|||
Invoke-Expression "& `"$dotnet`" tool uninstall $darcCliPackageName -g"
|
||||
}
|
||||
|
||||
$toolsetVersion = $GlobalJson.'msbuild-sdks'.'Microsoft.DotNet.Arcade.Sdk'
|
||||
# Until we can anonymously query the BAR API for the latest arcade-services
|
||||
# build applied to the PROD channel, this is hardcoded.
|
||||
if (-not $darcVersion) {
|
||||
$darcVersion = '1.1.0-beta.19057.9'
|
||||
}
|
||||
|
||||
$arcadeServicesSource = 'https://dotnetfeed.blob.core.windows.net/dotnet-arcade/index.json'
|
||||
|
||||
Write-Host "Installing Darc CLI version $toolsetVersion..."
|
||||
Write-Host "Installing Darc CLI version $darcVersion..."
|
||||
Write-Host "You may need to restart your command window if this is the first dotnet tool you have installed."
|
||||
Invoke-Expression "& `"$dotnet`" tool install $darcCliPackageName --version $toolsetVersion -v $verbosity -g"
|
||||
Invoke-Expression "& `"$dotnet`" tool install $darcCliPackageName --version $darcVersion --add-source '$arcadeServicesSource' -v $verbosity -g"
|
||||
}
|
||||
|
||||
InstallDarcCli
|
||||
InstallDarcCli $darcVersion
|
||||
|
|
|
@ -3,6 +3,6 @@
|
|||
"dotnet": "3.0.100-preview-009812"
|
||||
},
|
||||
"msbuild-sdks": {
|
||||
"Microsoft.DotNet.Arcade.Sdk": "1.0.0-beta.19060.8"
|
||||
"Microsoft.DotNet.Arcade.Sdk": "1.0.0-beta.19061.6"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue