Skip to content

Commit

Permalink
Fix package in GitHub curl request
Browse files Browse the repository at this point in the history
  • Loading branch information
antouhou committed Jul 4, 2020
1 parent cdc59bf commit 0171eab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ Usage: ./publish.sh %version_to_publish% %nuget_key% %GitHub_packages_key%

dotnet pack ./HexCore/HexCore.csproj --configuration Release
dotnet nuget push ./HexCore/bin/Release/HexCore.$VERSION.nupkg -k ${API_KEY} -s "nuget.org" --skip-duplicate
curl -vX PUT -u "[antouhou]:${PACKAGES_API_KEY}" -F package=./HexCore/bin/Release/HexCore.$VERSION.nupkg https://nuget.pkg.github.com/antouhou/
curl -vX PUT -u "[antouhou]:${PACKAGES_API_KEY}" -F package=@./HexCore/bin/Release/HexCore.$VERSION.nupkg https://nuget.pkg.github.com/antouhou/

0 comments on commit 0171eab

Please sign in to comment.