mirror of
https://gitlab.durp.info/durfy/ci-includes/yml.git
synced 2026-05-07 07:50:30 -05:00
update
This commit is contained in:
parent
ab91acbad4
commit
78e551b686
2 changed files with 2 additions and 5 deletions
|
|
@ -2,8 +2,7 @@
|
||||||
#%%MULTILINE_YAML_START
|
#%%MULTILINE_YAML_START
|
||||||
#move files to output
|
#move files to output
|
||||||
mkdir $CI_PROJECT_DIR/output
|
mkdir $CI_PROJECT_DIR/output
|
||||||
IFS=";" read -a names <<< $PROJECT_NAME
|
for i in $(echo $PROJECT_NAME | tr ";" "\n");
|
||||||
for i in $names;
|
|
||||||
do mkdir $CI_PROJECT_DIR/output/$i;
|
do mkdir $CI_PROJECT_DIR/output/$i;
|
||||||
cp -r $CI_PROJECT_DIR/$i $CI_PROJECT_DIR/output/;
|
cp -r $CI_PROJECT_DIR/$i $CI_PROJECT_DIR/output/;
|
||||||
done
|
done
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,7 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
#%%MULTILINE_YAML_START
|
#%%MULTILINE_YAML_START
|
||||||
#Nuget Push
|
#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
|
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 $(echo $PROJECT_NAME | tr ";" "\n");
|
||||||
for i in ${names[@]};
|
|
||||||
do dotnet nuget push "${CI_PROJECT_DIR}/packages/$i.$VERSION.nupkg" --source gitlab;
|
do dotnet nuget push "${CI_PROJECT_DIR}/packages/$i.$VERSION.nupkg" --source gitlab;
|
||||||
done
|
done
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue