Compare commits

..

No commits in common. "0009ae3f255ab87eb1eec78c75e42afe9f0832b8" and "3a4f4cc739b1a9f5146597d137700136b404e460" have entirely different histories.

View file

@ -105,20 +105,13 @@ release_dev:
image: alpine:latest
rules:
- if: $CI_COMMIT_TAG
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
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"
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'
- apk add zip curl
- 'zip -rq rsi.zip ./'
- echo "${PACKAGE_REGISTRY_URL}"
- |
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.
- '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.