Skip to content

Commit

Permalink
[ci] Automatically create GitLab release.
Browse files Browse the repository at this point in the history
  • Loading branch information
bilke committed Dec 18, 2020
1 parent 41f5f6d commit 3b8cfb9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
10 changes: 10 additions & 0 deletions scripts/ci/jobs/release.yml
Original file line number Diff line number Diff line change
@@ -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.'

0 comments on commit 3b8cfb9

Please sign in to comment.