mirror of
https://gitgud.io/amevarashi/rjw-sexperience-ideology.git
synced 2024-08-15 00:43:19 +00:00
Update .gitlab-ci.yml file
This commit is contained in:
parent
3a4f4cc739
commit
7a63b95661
1 changed files with 8 additions and 6 deletions
|
@ -108,10 +108,12 @@ release_dev:
|
||||||
when: never # Do not run this job when a tag is created manually
|
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
|
- if: $CI_COMMIT_BRANCH == "ci-test" # Run this job when commits are pushed or merged to the dev branch
|
||||||
script:
|
script:
|
||||||
- 'apk add gitlab-release-cli'
|
# - 'apk add gitlab-release-cli'
|
||||||
- 'ls -l'
|
- 'zip -r rsi.zip ./'
|
||||||
release:
|
- |
|
||||||
tag_name: '$CI_COMMIT_BRANCH-$CI_PIPELINE_IID' # The version is incremented per pipeline.
|
curl --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file rsi.zip "${PACKAGE_REGISTRY_URL}/test_build"
|
||||||
description: 'Automated release based on commit $CI_COMMIT_SHORT_SHA $CI_COMMIT_TAG'
|
# release:
|
||||||
ref: '$CI_COMMIT_SHA' # The tag is created from the pipeline SHA.
|
# 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.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue