From 84d40a17045d8b3ebd5f9eb7defdd866be43aee4 Mon Sep 17 00:00:00 2001 From: Nicholas Blumhardt Date: Tue, 17 May 2016 11:45:40 +1000 Subject: [PATCH] Use 'latest' for .NET CLI version... --- Serilog.sln | 1 + appveyor.yml | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Serilog.sln b/Serilog.sln index e34c85a67..bb776e9ca 100644 --- a/Serilog.sln +++ b/Serilog.sln @@ -10,6 +10,7 @@ EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "assets", "assets", "{E9D1B5E1-DEB9-4A04-8BAB-24EC7240ADAF}" ProjectSection(SolutionItems) = preProject .editorconfig = .editorconfig + appveyor.yml = appveyor.yml Build.ps1 = Build.ps1 global.json = global.json NuGet.Config = NuGet.Config diff --git a/appveyor.yml b/appveyor.yml index ccffebba4..446706829 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -5,8 +5,7 @@ install: - ps: mkdir -Force ".\build\" | Out-Null - ps: Invoke-WebRequest "https://raw.githubusercontent.com/dotnet/cli/rel/1.0.0/scripts/obtain/install.ps1" -OutFile ".\build\installcli.ps1" - ps: $env:DOTNET_INSTALL_DIR = "$pwd\.dotnetcli" - - ps: $cliversion = (Get-Content -Path .\global.json -Raw | ConvertFrom-JSON).sdk.version - - ps: '& .\build\installcli.ps1 -Channel "preview" -version "$env:cliversion" -InstallDir "$env:DOTNET_INSTALL_DIR" -NoPath' + - ps: '& .\build\installcli.ps1 -Channel "preview" -version "latest" -InstallDir "$env:DOTNET_INSTALL_DIR" -NoPath' - ps: $env:Path = "$env:DOTNET_INSTALL_DIR;$env:Path" build_script: - ps: ./Build.ps1