2020-06-04 19:40:34 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
2020-11-14 08:40:07 +00:00
|
|
|
echo "Publishing..."
|
2020-06-04 19:40:34 +01:00
|
|
|
|
2020-11-14 08:40:07 +00:00
|
|
|
cd ./SpotifyAPI.Web
|
2020-11-14 09:21:38 +00:00
|
|
|
dotnet pack -c Release SpotifyAPI.Web.csproj -p:PackageVersion="$RELEASE_VERSION"
|
|
|
|
nuget push "./bin/Release/SpotifyAPI.Web.$RELEASE_VERSION.nupkg"\
|
2020-11-14 08:40:07 +00:00
|
|
|
-ApiKey "$NUGET_TOKEN"\
|
|
|
|
-NonInteractive\
|
|
|
|
-Source https://www.nuget.org/api/v2/package
|
2020-06-04 19:40:34 +01:00
|
|
|
|
2020-11-14 08:40:07 +00:00
|
|
|
cd ../SpotifyAPI.Web.Auth
|
2020-11-14 09:21:38 +00:00
|
|
|
dotnet pack -c Release SpotifyAPI.Web.Auth.csproj -p:PackageVersion="$RELEASE_VERSION"
|
|
|
|
nuget push "./bin/Release/SpotifyAPI.Web.Auth.$RELEASE_VERSION.nupkg"\
|
2020-11-14 08:40:07 +00:00
|
|
|
-ApiKey "$NUGET_TOKEN"\
|
|
|
|
-NonInteractive\
|
|
|
|
-Source https://www.nuget.org/api/v2/package
|
2020-06-04 19:40:34 +01:00
|
|
|
|
2020-11-14 08:40:07 +00:00
|
|
|
cd ..
|