|
|
|
@ -44,8 +44,8 @@ deploy:
|
|
|
|
|
stage: deploy
|
|
|
|
|
script:
|
|
|
|
|
- dotnet pack -c Release
|
|
|
|
|
- dotnet nuget add source "$CI_SERVER_URL/api/v4/projects/$CI_PROJECT_ID/packages/nuget/index.json" --name gitlab --username gitlab-ci-token --password $CI_JOB_TOKEN --store-password-in-clear-text || true
|
|
|
|
|
- dotnet nuget push "src/*/bin/Release/*.nupkg" --source gitlab
|
|
|
|
|
- dotnet nuget push src/nuget-host/bin/Release/nuget-host.*.nupkg -s "$CI_SERVER_URL/api/v4/projects/$CI_PROJECT_ID/packages/nuget/index.json" -k $CI_JOB_TOKEN
|
|
|
|
|
- dotnet nuget push src/nuget-cli/bin/Release/nuget-cli.*.nupkg -s "$CI_SERVER_URL/api/v4/projects/$CI_PROJECT_ID/packages/nuget/index.json" -k $CI_JOB_TOKEN
|
|
|
|
|
only:
|
|
|
|
|
- master
|
|
|
|
|
|
|
|
|
|