From 1c0a30f7e3675b37f1700d58a008b43302da3542 Mon Sep 17 00:00:00 2001 From: yoshi Date: Tue, 23 Nov 2021 23:19:23 +0100 Subject: [PATCH] Chore: move to shell executor --- .gitlab-ci.yml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 200d20c..a5bac96 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,12 +1,6 @@ -release_job: +release_module: stage: deploy - image: registry.gitlab.com/gitlab-org/release-cli:latest rules: - if: $CI_COMMIT_TAG # Run this job when a tag is created manually script: - - echo 'running release_job' - release: - name: 'Release $CI_COMMIT_TAG' - description: 'Created using the release-cli $EXTRA_DESCRIPTION' # $EXTRA_DESCRIPTION must be defined - tag_name: '$CI_COMMIT_TAG' # elsewhere in the pipeline. - ref: '$CI_COMMIT_TAG' \ No newline at end of file + - release-cli create --name "Release $CI_COMMIT_SHA" --description "Created using the release-cli" --private-token $RELEASE_TOKEN --tag-name "$CI_COMMIT_TAG" --ref "$CI_COMMIT_SHA"