Fix AppVeyor script

This commit is contained in:
Frederik Carlier
2017-03-07 14:52:02 +01:00
parent e20798c746
commit 1399b4ba2a

View File

@@ -1,10 +1,15 @@
before_build:
- nuget restore
install:
- choco install -y wget
- wget -q https://download.microsoft.com/download/5/F/E/5FEB7E95-C643-48D5-8329-9D2C63676CE8/dotnet-dev-win-x64.1.0.0-rc4-004771.exe
- dotnet-dev-win-x64.1.0.0-rc4-004771.exe /install /quiet /log dotnetinstall.log
- ps: Push-AppveyorArtifact "dotnetinstall.log"
build_script:
- msbuild plist-cil.sln /p:Configuration=Release /p:Platform="Any CPU" /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
- cmd: cd plist-cil
- cmd: dotnet restore
- cmd: dotnet build -c Release --version-suffix r%APPVEYOR_BUILD_NUMBER%
on_success:
- cmd: cd plist-cil
- cmd: nuget pack plist-cil.nuspec -Version %APPVEYOR_BUILD_VERSION%
- ps: Push-AppveyorArtifact "plist-cil.$($env:APPVEYOR_BUILD_VERSION).nupkg"
- cmd: dotnet pack -c Release --version-suffix r%APPVEYOR_BUILD_NUMBER%
- ps: Push-AppveyorArtifact "bin\Release\plist-cil.1.0.54-r$($env:APPVEYOR_BUILD_NUMBER).nupkg"
- ps: Push-AppveyorArtifact "bin\Release\plist-cil.1.0.54-r$($env:APPVEYOR_BUILD_NUMBER).symbols.nupkg"