[gnome-desktop/jjardon/release_automation] .gitlab-ci.yml: Add job to generate gitlab releases when tagging
- From: Javier Jardón Cabezas <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-desktop/jjardon/release_automation] .gitlab-ci.yml: Add job to generate gitlab releases when tagging
- Date: Sun, 29 Aug 2021 22:28:46 +0000 (UTC)
commit cd72d1abb56cf9fbfa2464d01cd6b0517ab1b3c4
Author: Javier Jardón <jjardon gnome org>
Date: Sun Aug 29 23:24:58 2021 +0100
.gitlab-ci.yml: Add job to generate gitlab releases when tagging
See docs:
- https://docs.gitlab.com/ee/user/project/releases/
- https://docs.gitlab.com/ee/ci/yaml/index.html#release
.gitlab-ci.yml | 10 ++++++++++
1 file changed, 10 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0f2059bf..aeb335c5 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -40,3 +40,13 @@ build_stable:
paths:
- build/meson-dist/
when: on_success
+
+do_gitlab_release:
+ stage: release
+ 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'
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]