mirror of
https://gitlab.durp.info/durfy/ci-includes/yml.git
synced 2026-05-07 07:50:30 -05:00
ci: render
Rendered by https://gitlab.com/developerdurp/yml/-/pipelines/1085180372
This commit is contained in:
parent
78e551b686
commit
34dbc49075
2 changed files with 2 additions and 5 deletions
|
|
@ -5,8 +5,7 @@
|
|||
- |
|
||||
#move files to output
|
||||
mkdir $CI_PROJECT_DIR/output
|
||||
IFS=";" read -a names <<< $PROJECT_NAME
|
||||
for i in $names;
|
||||
for i in $(echo $PROJECT_NAME | tr ";" "\n");
|
||||
do mkdir $CI_PROJECT_DIR/output/$i;
|
||||
cp -r $CI_PROJECT_DIR/$i $CI_PROJECT_DIR/output/;
|
||||
done
|
||||
|
|
|
|||
|
|
@ -4,10 +4,8 @@
|
|||
# Begin of push.sh
|
||||
- |
|
||||
#Nuget Push
|
||||
IFS=";" read -a names <<< $PROJECT_NAME
|
||||
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
|
||||
count=0
|
||||
for i in ${names[@]};
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue