mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
parent
c054cba042
commit
777534b2a4
2 changed files with 12 additions and 4 deletions
|
@ -98,9 +98,16 @@ workflows:
|
|||
release:
|
||||
jobs:
|
||||
- prepare_release:
|
||||
filters:
|
||||
branches:
|
||||
only: /release-.*/
|
||||
when:
|
||||
and:
|
||||
- matches:
|
||||
pattern: "^release-"
|
||||
value: << pipeline.git.branch >>
|
||||
- not:
|
||||
- matches:
|
||||
pattern: "NOCIRCLECI"
|
||||
value: << pipeline.trigger_parameters.github_app.commit_message >>
|
||||
|
||||
- build_container1:
|
||||
requires:
|
||||
- prepare_release
|
||||
|
|
|
@ -101,7 +101,8 @@ func (r *ReleaseHandler) Run() error {
|
|||
return err
|
||||
}
|
||||
|
||||
if _, err := r.git("commit", "-a", "-m", fmt.Sprintf("%s Bump versions for release of %s\n\n[ci skip]", commitPrefix, newVersion)); err != nil {
|
||||
// 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 {
|
||||
return err
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue