mirror of
https://github.com/gohugoio/hugo.git
synced 2025-09-01 22:42:45 +02:00
Revert "releaser: Rework the run conditions"
This reverts commit 777534b2a4
.
Circle ci throws validation errors:
```
Config does not conform to schema: {:workflows {:release {:jobs [{:prepare_release (not (map? nil)), :when {:and disallowed-key}} nil nil nil]}}}
```
This commit is contained in:
@@ -98,16 +98,9 @@ workflows:
|
||||
release:
|
||||
jobs:
|
||||
- prepare_release:
|
||||
when:
|
||||
and:
|
||||
- matches:
|
||||
pattern: "^release-"
|
||||
value: << pipeline.git.branch >>
|
||||
- not:
|
||||
- matches:
|
||||
pattern: "NOCIRCLECI"
|
||||
value: << pipeline.trigger_parameters.github_app.commit_message >>
|
||||
|
||||
filters:
|
||||
branches:
|
||||
only: /release-.*/
|
||||
- build_container1:
|
||||
requires:
|
||||
- prepare_release
|
||||
|
Reference in New Issue
Block a user