Spotify.NET/SpotifyAPI/publish.cmd
2017-07-16 23:52:43 +02:00

13 lines
266 B
Batchfile

if "%APPVEYOR_REPO_TAG%" == "true" (
echo Publishing...
cd ./SpotifyAPI
nuget pack ./SpotifyAPI.nuspec -Version %APPVEYOR_REPO_TAG_NAME%
nuget push ./SpotifyAPI-NET.%APPVEYOR_REPO_TAG_NAME%.nupkg -ApiKey %NUGET_TOKEN%
cd ../
) else (
echo Skipping Publishing
)