mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
Revert "releaser: Rework the run conditions"
This reverts commit 702b1e8b81
.
This commit is contained in:
parent
0e5a26057c
commit
46484bff84
2 changed files with 1 additions and 11 deletions
|
@ -96,15 +96,6 @@ 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:
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue