Verified Commit 7c1a3b50 authored by Elias Häußler's avatar Elias Häußler 🐛
Browse files

[TASK] Create new GitLab release on tag push

parent be7e769e
Pipeline #789 passed with stages
in 4 minutes and 38 seconds
......@@ -22,6 +22,7 @@ stages:
- test
- docs
- deploy
- release
build:
stage: build
......@@ -177,3 +178,19 @@ deploy:docs:
when: never
- if: '$CI_COMMIT_BRANCH == "master"'
when: on_success
release:
stage: release
image: registry.gitlab.com/gitlab-org/release-cli:latest
script:
- echo "Creating release for ${CI_COMMIT_TAG}"
release:
name: '${CI_COMMIT_TAG}'
description: 'Release notes are available in the [Changelog](CHANGELOG.md) file.'
tag_name: '${CI_COMMIT_TAG}'
ref: '${CI_COMMIT_TAG}'
rules:
- if: '$RENDER_DOCS'
when: never
- if: '$CI_COMMIT_TAG'
when: on_success
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment