mirror of
https://github.com/gohugoio/hugo.git
synced 2025-09-01 22:42:45 +02:00
releaser: Rework the run conditions
Now after actually reading the CircleCI docs... Closes #12753
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user