ci: Trigger workflow when there is a commit tag

Should hopefully finally fix the release workflow
This commit is contained in:
Kévin Commaille 2023-11-08 18:53:48 +01:00
parent 918a7179f3
commit 863546c23a
No known key found for this signature in database
GPG key ID: 29A48C1F03620416

View file

@ -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