mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-26 22:04:32 +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:
@@ -101,8 +101,7 @@ func (r *ReleaseHandler) Run() error {
|
||||
return err
|
||||
}
|
||||
|
||||
// About NOCIRCLECI, see issue #12753.
|
||||
if _, err := r.git("commit", "-a", "-m", fmt.Sprintf("%s Bump versions for release of %s\n\nNOCIRCLECI", commitPrefix, newVersion)); err != nil {
|
||||
if _, err := r.git("commit", "-a", "-m", fmt.Sprintf("%s Bump versions for release of %s\n\n[ci skip]", commitPrefix, newVersion)); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user