mirror of
https://gitgud.io/amevarashi/rjw-sexperience-ideology.git
synced 2024-08-15 00:43:19 +00:00
Compare commits
7 commits
3a4f4cc739
...
0009ae3f25
Author | SHA1 | Date | |
---|---|---|---|
|
0009ae3f25 | ||
|
5cbce72dd9 | ||
|
5470842e47 | ||
|
65ea629c2c | ||
|
002cf93518 | ||
|
2a88cba623 | ||
|
7a63b95661 |
1 changed files with 15 additions and 8 deletions
|
@ -107,11 +107,18 @@ release_dev:
|
||||||
- if: $CI_COMMIT_TAG
|
- if: $CI_COMMIT_TAG
|
||||||
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
|
||||||
|
variables:
|
||||||
|
GIT_STRATEGY: none # Do not clone repo and skip 'before_script'
|
||||||
|
PACKAGE_REGISTRY_URL: "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/rsi/ci_test"
|
||||||
script:
|
script:
|
||||||
- 'apk add gitlab-release-cli'
|
# - 'apk add gitlab-release-cli'
|
||||||
- 'ls -l'
|
- apk add zip curl
|
||||||
release:
|
- 'zip -rq rsi.zip ./'
|
||||||
tag_name: '$CI_COMMIT_BRANCH-$CI_PIPELINE_IID' # The version is incremented per pipeline.
|
- echo "${PACKAGE_REGISTRY_URL}"
|
||||||
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.
|
curl --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file rsi.zip "${PACKAGE_REGISTRY_URL}/rjw_sexperience_ideology.zip"
|
||||||
|
# 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.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue