|
|
|
@ -25,7 +25,7 @@ publish:
|
|
|
|
|
when: always
|
|
|
|
|
script:
|
|
|
|
|
- dotnet publish --configuration Release
|
|
|
|
|
deploy:
|
|
|
|
|
deploy-to-gitlab:
|
|
|
|
|
stage: deploy
|
|
|
|
|
artifacts:
|
|
|
|
|
paths:
|
|
|
|
@ -38,7 +38,7 @@ deploy:
|
|
|
|
|
- dotnet nuget push src/*/bin/Release/*.nupkg -s gitlab
|
|
|
|
|
only:
|
|
|
|
|
- master
|
|
|
|
|
pack:
|
|
|
|
|
deploy-to-apple:
|
|
|
|
|
stage: deploy
|
|
|
|
|
artifacts:
|
|
|
|
|
paths:
|
|
|
|
@ -47,7 +47,7 @@ pack:
|
|
|
|
|
script:
|
|
|
|
|
- dotnet pack --configuration Release --no-restore
|
|
|
|
|
- cd src/nuget-cli
|
|
|
|
|
- dotnet run push -s $NUGETSOURCE -k $NUGETSOURCEAPIKEY ../nuget-host/bin/Release/nuget-host.*.nupkg
|
|
|
|
|
- dotnet run push -s $NUGETSOURCE -k $NUGETSOURCEAPIKEY ../*/bin/Release/*.nupkg
|
|
|
|
|
stages:
|
|
|
|
|
- build
|
|
|
|
|
- test
|
|
|
|
|