This commit is contained in:
TomPallister 2016-10-25 21:00:11 +01:00
parent 4671a9f83b
commit 385aea8fdd
2 changed files with 2 additions and 2 deletions

View File

@ -7,6 +7,6 @@ build_script:
test_script: test_script:
- run-tests.bat - run-tests.bat
after_build: after_build:
- push-to-nuget.bat 1.0.{build}-rc1 - push-to-nuget.bat 1.0.{build}-rc1 {nugetApiKey}
cache: cache:
- '%USERPROFILE%\.nuget\packages' - '%USERPROFILE%\.nuget\packages'

View File

@ -4,7 +4,7 @@ echo Packing Ocelot Version %1
nuget pack .\Ocelot.nuspec -version %1 nuget pack .\Ocelot.nuspec -version %1
echo Publishing Ocelot echo Publishing Ocelot
nuget push Ocelot.%1.nupkg -ApiKey adc6c39d-ae94-496c-823e-b96f64ee23ff -Source https://www.nuget.org/api/v2/package nuget push Ocelot.%1.nupkg -ApiKey %2 -Source https://www.nuget.org/api/v2/package