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:
Thomas Citharel 2021-01-27 11:43:12 +01:00
parent 491a40460f
commit 773ae75373
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773

View File

@ -238,18 +238,17 @@ release-upload:
when: on_success when: on_success
paths: paths:
- mobilizon_*.tar.gz - 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: # release-cli create --name "$CI_PROJECT_TITLE v$CI_COMMIT_TAG" \
stage: deploy # --tag-name "$CI_COMMIT_TAG" \
image: registry.gitlab.com/gitlab-org/release-cli:latest # --assets-link "{\"name\":\"${APP_ASSET}\",\"url\":\"${PACKAGE_REGISTRY_URL}/${APP_VERSION}/${APP_ASSET}\"}"
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}\"}"