Skip to content

Commit 38a743f

Browse files
committed
chore: use dotnet nuget push instead of nuget
1 parent d51e1cf commit 38a743f

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

publish.sh

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,14 @@ echo "Publishing..."
66

77
cd ./SpotifyAPI.Web
88
dotnet pack -c Release SpotifyAPI.Web.csproj -p:PackageVersion="$RELEASE_VERSION"
9-
nuget push "./bin/Release/SpotifyAPI.Web.$RELEASE_VERSION.nupkg"\
10-
-ApiKey "$NUGET_TOKEN"\
11-
-NonInteractive\
12-
-Source https://www.nuget.org/api/v2/package
9+
dotnet nuget push "./bin/Release/SpotifyAPI.Web.$RELEASE_VERSION.nupkg"\
10+
-k "$NUGET_TOKEN"\
11+
-s https://www.nuget.org/api/v2/package
1312

1413
cd ../SpotifyAPI.Web.Auth
1514
dotnet pack -c Release SpotifyAPI.Web.Auth.csproj -p:PackageVersion="$RELEASE_VERSION"
16-
nuget push "./bin/Release/SpotifyAPI.Web.Auth.$RELEASE_VERSION.nupkg"\
17-
-ApiKey "$NUGET_TOKEN"\
18-
-NonInteractive\
19-
-Source https://www.nuget.org/api/v2/package
15+
dotnet nuget push "./bin/Release/SpotifyAPI.Web.Auth.$RELEASE_VERSION.nupkg"\
16+
-k "$NUGET_TOKEN"\
17+
-s https://www.nuget.org/api/v2/package
2018

2119
cd ..

0 commit comments

Comments
 (0)