From 6489c59849001eba0746d5bb3b04df621ac1d58f Mon Sep 17 00:00:00 2001 From: Krupis Date: Fri, 1 Dec 2023 14:32:31 +0200 Subject: [PATCH] Create main.yml --- .github/workflows/main.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..891d67d --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,10 @@ +release: + stage: release + script: + - echo "Create release when a tag is created" + rules: + - if: '$CI_COMMIT_TAG' # Any tag is created + - if: '$CI_COMMIT_TAG =~ /^v\d+\.\d+\.\d+\-release/' # A specific tag with 'vX.Y.Z-release' pattern is created + release: + name: 'My awesome release' + tag_name: '$CI_COMMIT_TAG'