releaser: Rework the run conditions

Closes #12753
This commit is contained in:
Bjørn Erik Pedersen
2024-08-18 11:47:51 +02:00
parent c054cba042
commit 777534b2a4
2 changed files with 12 additions and 4 deletions

View File

@@ -98,9 +98,16 @@ workflows:
release:
jobs:
- prepare_release:
filters:
branches:
only: /release-.*/
when:
and:
- matches:
pattern: "^release-"
value: << pipeline.git.branch >>
- not:
- matches:
pattern: "NOCIRCLECI"
value: << pipeline.trigger_parameters.github_app.commit_message >>
- build_container1:
requires:
- prepare_release