[tor-commits] [sbws/maint-1.1] fix: CI: Create release on tag

juga at torproject.org juga at torproject.org
Fri Apr 16 11:45:06 UTC 2021


commit 316d67fe132bc774ba7bff20ddf298aa947bce98
Author: juga0 <juga at riseup.net>
Date:   Fri Apr 16 09:51:13 2021 +0000

    fix: CI: Create release on tag
---
 .gitlab-ci.yml | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d352153..1a9ad10 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -131,3 +131,20 @@ python310:
   - tox -e py310
   - tox -e integration
   allow_failure: true
+
+release_job:
+  before_script:
+    - echo "Nothing"
+  after_script:
+    - echo "Nothing"
+  image: registry.gitlab.com/gitlab-org/release-cli:latest
+  only: [tags]
+  script:
+    - echo "Running release job."
+  release:
+    name: "Release $CI_COMMIT_TAG"
+    description: "Created using release-cli"
+    tag_name: "$CI_COMMIT_TAG"
+    ref: "$CI_COMMIT_TAG"
+    milestones:
+      - "sbws: 1.1.x-final"





More information about the tor-commits mailing list