2023-11-21 18:49:34 +00:00
|
|
|
.nuget_push:
|
2026-02-27 11:44:52 +00:00
|
|
|
image: registry.durp.info/dotnet/core/sdk:latest
|
2023-11-21 18:49:34 +00:00
|
|
|
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
|
2023-11-26 03:32:41 +00:00
|
|
|
for i in $(echo $PROJECT_NAME | tr ";" "\n");
|
2023-11-21 18:49:34 +00:00
|
|
|
do dotnet nuget push "${CI_PROJECT_DIR}/packages/$i.$VERSION.nupkg" --source gitlab;
|
|
|
|
|
done
|
|
|
|
|
# End of push.sh
|