ci: render
Rendered by https://gitlab.com/developerdurp/yml/-/pipelines/1085180372
This commit is contained in:
@@ -5,8 +5,7 @@
|
|||||||
- |
|
- |
|
||||||
#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
|
||||||
|
|||||||
@@ -4,10 +4,8 @@
|
|||||||
# Begin of push.sh
|
# Begin of push.sh
|
||||||
- |
|
- |
|
||||||
#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
|
||||||
# End of push.sh
|
# End of push.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user