From 863546c23aa1433ed746271bef6a91404e772fcd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Commaille?= Date: Wed, 8 Nov 2023 18:53:48 +0100 Subject: [PATCH] ci: Trigger workflow when there is a commit tag Should hopefully finally fix the release workflow --- .gitlab-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 78a5d0a7..6b0a0ef9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -9,7 +9,7 @@ variables: workflow: rules: - - if: $CI_COMMIT_BRANCH == "main" + - if: $CI_COMMIT_BRANCH == "main" || $CI_COMMIT_TAG variables: MANIFEST_PATH: "build-aux/org.gnome.Fractal.Devel.json" APP_ID: "org.gnome.Fractal.Devel" @@ -27,10 +27,10 @@ include: - if: $CI_COMMIT_TAG == null - local: .gitlab-ci/publish_docs.yml rules: - - if: $CI_COMMIT_BRANCH == "main" && $CI_COMMIT_TAG == null + - if: $CI_COMMIT_BRANCH == "main" - local: .gitlab-ci/publish_nightly.yml rules: - - if: $CI_COMMIT_BRANCH == "main" && $CI_COMMIT_TAG == null + - if: $CI_COMMIT_BRANCH == "main" - local: .gitlab-ci/create_release.yml rules: - if: $CI_COMMIT_TAG \ No newline at end of file