Skip to content

Commit

Permalink
chore: update publish command
Browse files Browse the repository at this point in the history
  • Loading branch information
get-me-power committed Jan 31, 2024
1 parent b7e63e6 commit 86cfb21
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions publish
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ get-version() {

validate-env() {
has dotnet || throw "dotnet must be installed (see https://docs.microsoft.com/ja-jp/dotnet/core/tools/)"
has nuget || throw "nuget must be installed (see https://docs.microsoft.com/ja-jp/nuget/install-nuget-client-tools)"
}


Expand Down Expand Up @@ -88,7 +87,7 @@ main() {
local nupkg="./${NUPKG_BASENAME}"
build "$nupkg" "$version"

nuget push "$nupkg" -Source https://api.nuget.org/v3/index.json
dotnet nuget push "$nupkg" -Source https://api.nuget.org/v3/index.json
git push origin "$version"
}

Expand Down

0 comments on commit 86cfb21

Please sign in to comment.