diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 96ddcb7ab1a..e79c5aae93c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -60,3 +60,4 @@ include: - local: '/scripts/ci/jobs/clang-tidy.yml' - local: '/scripts/ci/jobs/web.yml' - local: '/scripts/ci/jobs/container.yml' + - local: '/scripts/ci/jobs/release.yml' diff --git a/scripts/ci/jobs/release.yml b/scripts/ci/jobs/release.yml new file mode 100644 index 00000000000..31ba77ab82b --- /dev/null +++ b/scripts/ci/jobs/release.yml @@ -0,0 +1,10 @@ +release: + stage: package + image: registry.gitlab.com/gitlab-org/release-cli:latest + rules: + - if: $CI_COMMIT_TAG + script: + - echo 'Running release job.' + release: + tag_name: '$CI_COMMIT_TAG' + description: 'Created using the GitLab release-cli.'