From cdf82c23bc025c21bdf884772ecfd72d55fb8132 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9E=97=E5=8D=9A=E4=BB=81=28Buo-ren=20Lin=29?= Date: Thu, 26 Oct 2023 05:24:24 +0800 Subject: [PATCH] feat: Implement release creation CI job MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: ๆž—ๅšไป(Buo-ren Lin) --- .gitlab-ci.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bf8898c..bb8a285 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -35,3 +35,15 @@ static-analysis: script: - ./continuous-integration/do-static-analysis.install-system-deps.sh - ./continuous-integration/do-static-analysis.sh + +create-release: + stage: release + needs: + - generate-build-artifacts + image: registry.gitlab.com/gitlab-org/release-cli:latest + rules: + - if: $CI_COMMIT_TAG + release: + tag_name: $CI_COMMIT_TAG + description: '' + name: $CI_PROJECT_TITLE $CI_COMMIT_TAG