12 lines
507 B
YAML
12 lines
507 B
YAML
.nuget_push:
|
|
image: registry.internal.durp.info/dotnet/core/sdk:latest
|
|
script:
|
|
# Begin of push.sh
|
|
- |
|
|
#Nuget Push
|
|
dotnet nuget add source "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/nuget/index.json" --name gitlab --username gitlab-ci-token --password $CI_JOB_TOKEN --store-password-in-clear-text
|
|
for i in $(echo $PROJECT_NAME | tr ";" "\n");
|
|
do dotnet nuget push "${CI_PROJECT_DIR}/packages/$i.$VERSION.nupkg" --source gitlab;
|
|
done
|
|
# End of push.sh
|