Closed oroce closed 6 years ago
Writing proper commit messages before merging back to master (and keep the history clean and understandable) has become way more important than ever! Please keep it mind! Awesome!! 👍
cc @oroce @molnosikristof @kristof0425 @gazdagergo
This only generates changelog based on the master, so keeping feature branch commits perfect is not critical, they still can be your own playground. But if you're about to merge into master, please use rebase or squash, and avoid the autogenerated commit messages come with merge commits.
the version script was something I was completely unaware of. As it turned out (docs) if you run
npm version <release type>
theversion
script in your package.json will be called after the version is bumped but beforegit commit
is invoked.I wasn't the genius who came up with this script, I found this here: https://github.com/conventional-changelog/conventional-changelog/tree/master/packages/conventional-changelog-cli#with-npm-version