Now after actually reading the CircleCI docs...
Closes #12753
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:
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
}