Spotify.NET/SpotifyAPI/publish.cmd

13 lines
266 B
Batchfile
Raw 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%
nuget push ./SpotifyAPI-NET.%APPVEYOR_REPO_TAG_NAME%.nupkg -ApiKey %NUGET_TOKEN%
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
)