pycontw / mail_handler

Mail toolkit for PyCon Taiwan
https://pycontw.github.io/mail_handler/
MIT License
11 stars 11 forks source link

[Bug Report] bump version automation failed #12

Closed tai271828 closed 3 years ago

tai271828 commented 3 years ago

Description

https://github.com/pycontw/mail_handler/runs/2370020708?check_suite_focus=true

Expected Behavior

The package is build and version bumps automatically.

Actual Behavior

https://github.com/pycontw/mail_handler/runs/2370020708?check_suite_focus=true

tai271828 commented 3 years ago

Thanks @Lee-W 's hint. The failure was caused by:

  1. @allen91wu 's earlier commit message does not follow commitizen style, and I landed the commit. The pull request CI did not detect it because of unexpected master merge, so the commit hash was not detected correctly. We should follow commitizen commit style.
  2. cz bump --yes --changelog only bump version when detecting the commit messages with fix or feat. Tip: locally place cz bump --yes --changelog --dry-run to test the version bumping.