build(nuget): fixing CLI call for nuget

This commit is contained in:
Dylan R. E. Moonfire 2021-09-03 21:08:51 -05:00
parent 78109d3890
commit 0e424fce33

View file

@ -73,7 +73,7 @@ deploy:
- dotnet restore - dotnet restore
- dotnet build - dotnet build
- dotnet pack -c Release - dotnet pack -c Release
- dotnet nuget push "bin/*.nupkg" $NUGET_TOKEN -Source "$NUGET_PUSH_URL" - dotnet nuget push "bin/*.nupkg" $NUGET_TOKEN --source "$NUGET_PUSH_URL"
rules: rules:
- if: '$FORCE_DEPLOY' - if: '$FORCE_DEPLOY'
- if: '$CI_COMMIT_TITLE =~ /^chore\(release\)/ && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH' - if: '$CI_COMMIT_TITLE =~ /^chore\(release\)/ && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'