Split gitlab ci jobs

This commit is contained in:
sonny 2021-01-01 13:26:57 +01:00
parent 0fa8fd2558
commit 8ae2cf1f8d
4 changed files with 46 additions and 12 deletions

12
gitlab/release.yml Normal file
View file

@ -0,0 +1,12 @@
release:
stage: release
image: registry.gitlab.com/gitlab-org/release-cli:latest
rules:
- if: $CI_COMMIT_TAG
script:
- echo 'running release job'
release:
name: 'Release $CI_COMMIT_TAG'
description: './CHANGELOG.md'
tag_name: '$CI_COMMIT_TAG'
ref: '$CI_COMMIT_TAG'