@@ -16,7 +16,7 @@ No tasks will be executed.
16
16
. PARAMETER ScriptArgs
17
17
Remaining arguments are added here.
18
18
. LINK
19
- http ://cakebuild.net
19
+ https ://cakebuild.net
20
20
#>
21
21
22
22
[CmdletBinding ()]
@@ -31,12 +31,16 @@ Param(
31
31
[string []]$ScriptArgs
32
32
)
33
33
34
- $CakeVersion = " 0.19.5 "
34
+ $CakeVersion = " 0.22.2 "
35
35
$DotNetChannel = " preview" ;
36
- $DotNetVersion = " 1.0.0-preview2-003121 " ;
37
- $DotNetInstallerUri = " https://raw.githubusercontent.com/dotnet/cli/rel/1.0.0-preview2/scripts/obtain /dotnet-install.ps1" ;
36
+ $DotNetVersion = " 1.0.4 " ;
37
+ $DotNetInstallerUri = " https://dot.net/v1 /dotnet-install.ps1" ;
38
38
$NugetUrl = " https://dist.nuget.org/win-x86-commandline/latest/nuget.exe"
39
39
40
+ # Temporarily skip verification and opt-in to new in-proc NuGet
41
+ $ENV: CAKE_SETTINGS_SKIPVERIFICATION = ' true'
42
+ $ENV: CAKE_NUGET_USEINPROCESSCLIENT = ' true'
43
+
40
44
# Make sure tools folder exists
41
45
$PSScriptRoot = Split-Path $MyInvocation.MyCommand.Path - Parent
42
46
$ToolPath = Join-Path $PSScriptRoot " tools"
@@ -82,10 +86,11 @@ if($FoundDotNetCliVersion -ne $DotNetVersion) {
82
86
83
87
Remove-PathVariable " $InstallPath "
84
88
$env: PATH = " $InstallPath ;$env: PATH "
85
- $env: DOTNET_SKIP_FIRST_TIME_EXPERIENCE = 1
86
- $env: DOTNET_CLI_TELEMETRY_OPTOUT = 1
87
89
}
88
90
91
+ $env: DOTNET_SKIP_FIRST_TIME_EXPERIENCE = 1
92
+ $env: DOTNET_CLI_TELEMETRY_OPTOUT = 1
93
+
89
94
# ##########################################################################
90
95
# INSTALL NUGET
91
96
# ##########################################################################
0 commit comments