releaser: Rework the run conditions

Now after actually reading the CircleCI docs...

Closes #12753
This commit is contained in:
Bjørn Erik Pedersen
2024-08-18 18:39:55 +02:00
parent 73d32e7737
commit 702b1e8b81
2 changed files with 11 additions and 1 deletions

View File

@@ -96,6 +96,15 @@ jobs:
workflows:
version: 2
release:
when:
and:
- matches:
pattern: "^release-"
value: << pipeline.git.branch >>
- not:
matches:
pattern: "NOCIRCLECI"
value: << pipeline.trigger_parameters.github_app.commit_message >>
jobs:
- prepare_release:
filters: