Disable release-create job for now
Need to rethink how releases are created first Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
491a40460f
commit
773ae75373
|
@ -238,18 +238,17 @@ release-upload:
|
|||
when: on_success
|
||||
paths:
|
||||
- mobilizon_*.tar.gz
|
||||
# release-create:
|
||||
# stage: deploy
|
||||
# image: registry.gitlab.com/gitlab-org/release-cli:latest
|
||||
# rules:
|
||||
# - if: $CI_COMMIT_TAG
|
||||
# dependencies: []
|
||||
# cache: {}
|
||||
# script: |
|
||||
# APP_VERSION="${CI_COMMIT_TAG}"
|
||||
# APP_ASSET="${CI_PROJECT_NAME}_${APP_VERSION}_${ARCH}.tar.gz"
|
||||
|
||||
release-create:
|
||||
stage: deploy
|
||||
image: registry.gitlab.com/gitlab-org/release-cli:latest
|
||||
rules:
|
||||
- if: $CI_COMMIT_TAG
|
||||
dependencies: []
|
||||
cache: {}
|
||||
script: |
|
||||
APP_VERSION="${CI_COMMIT_TAG}"
|
||||
APP_ASSET="${CI_PROJECT_NAME}_${APP_VERSION}_${ARCH}.tar.gz"
|
||||
|
||||
release-cli create --name "$CI_PROJECT_TITLE v$CI_COMMIT_TAG" \
|
||||
--tag-name "$CI_COMMIT_TAG" \
|
||||
--assets-link "{\"name\":\"${APP_ASSET}\",\"url\":\"${PACKAGE_REGISTRY_URL}/${APP_VERSION}/${APP_ASSET}\"}"
|
||||
# release-cli create --name "$CI_PROJECT_TITLE v$CI_COMMIT_TAG" \
|
||||
# --tag-name "$CI_COMMIT_TAG" \
|
||||
# --assets-link "{\"name\":\"${APP_ASSET}\",\"url\":\"${PACKAGE_REGISTRY_URL}/${APP_VERSION}/${APP_ASSET}\"}"
|
||||
|
|
Loading…
Reference in a new issue