Spotify.NET/SpotifyAPI/publish.cmd

13 lines
327 B
Batchfile
Raw Permalink Normal View History

2017-07-16 22:52:43 +01:00
if "%APPVEYOR_REPO_TAG%" == "true" (
2017-07-16 21:47:06 +01:00
echo Publishing...
cd ./SpotifyAPI
2017-07-16 22:14:59 +01:00
nuget pack ./SpotifyAPI.nuspec -Version %APPVEYOR_REPO_TAG_NAME%
2017-07-16 22:57:02 +01:00
nuget push ./SpotifyAPI-NET.%APPVEYOR_REPO_TAG_NAME%.nupkg -ApiKey %NUGET_TOKEN% -NonInteractive -Source https://www.nuget.org/api/v2/package
2017-07-16 21:47:06 +01:00
cd ../
2017-07-16 22:30:40 +01:00
2017-07-16 21:47:06 +01:00
) else (
echo Skipping Publishing
)