From 7a63b9566115cd459eed9db401db83b979dfe4ea Mon Sep 17 00:00:00 2001 From: amevarashi Date: Mon, 29 Apr 2024 12:21:55 +0000 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8be4d8f..300b80e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -108,10 +108,12 @@ release_dev: when: never # Do not run this job when a tag is created manually - if: $CI_COMMIT_BRANCH == "ci-test" # Run this job when commits are pushed or merged to the dev branch script: - - 'apk add gitlab-release-cli' - - 'ls -l' - release: - tag_name: '$CI_COMMIT_BRANCH-$CI_PIPELINE_IID' # The version is incremented per pipeline. - description: 'Automated release based on commit $CI_COMMIT_SHORT_SHA $CI_COMMIT_TAG' - ref: '$CI_COMMIT_SHA' # The tag is created from the pipeline SHA. +# - 'apk add gitlab-release-cli' + - 'zip -r rsi.zip ./' + - | + curl --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file rsi.zip "${PACKAGE_REGISTRY_URL}/test_build" +# release: +# tag_name: '$CI_COMMIT_BRANCH-$CI_PIPELINE_IID' # The version is incremented per pipeline. +# description: 'Automated release based on commit $CI_COMMIT_SHORT_SHA $CI_COMMIT_TAG' +# ref: '$CI_COMMIT_SHA' # The tag is created from the pipeline SHA.