[gnome-desktop/jjardon/release_automation] .gitlab-ci.yml: Add job to generate gitlab releases when tagging




commit 4646fccff4641c569fb2093163d538acea0fba36
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 | 11 +++++++++++
 1 file changed, 11 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0f2059bf..25f192a6 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -40,3 +40,14 @@ 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'
+    description: 'See NEWS file'


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]