2018-08-24 13:51:48 +01:00
|
|
|
if "%APPVEYOR_REPO_TAG%" == "true" (
|
|
|
|
|
|
|
|
echo Publishing...
|
|
|
|
cd ./SpotifyAPI.Web
|
2019-07-17 16:26:35 +01:00
|
|
|
dotnet pack -c Release SpotifyAPI.Web.csproj -p:PackageVersion=%APPVEYOR_REPO_TAG_NAME%
|
|
|
|
nuget push ./bin/Release/SpotifyAPI.Web.%APPVEYOR_REPO_TAG_NAME%.nupkg -ApiKey %NUGET_TOKEN% -NonInteractive -Source https://www.nuget.org/api/v2/package
|
2018-08-24 13:51:48 +01:00
|
|
|
|
|
|
|
cd ../SpotifyAPI.Web.Auth
|
2019-07-17 16:26:35 +01:00
|
|
|
dotnet pack -c Release SpotifyAPI.Web.Auth.csproj -p:PackageVersion=%APPVEYOR_REPO_TAG_NAME%
|
|
|
|
nuget push ./bin/Release/SpotifyAPI.Web.Auth.%APPVEYOR_REPO_TAG_NAME%.nupkg -ApiKey %NUGET_TOKEN% -NonInteractive -Source https://www.nuget.org/api/v2/package
|
2018-08-24 13:51:48 +01:00
|
|
|
|
2018-08-24 14:12:02 +01:00
|
|
|
cd ..
|
|
|
|
|
2018-08-24 13:51:48 +01:00
|
|
|
) else (
|
|
|
|
echo Skipping Publishing
|
|
|
|
)
|