purposeindustries / intellyo-application-design-system

http://ux.intellyo.com
MIT License
5 stars 0 forks source link

generate changelog #364

Closed oroce closed 6 years ago

oroce commented 6 years ago

the version script was something I was completely unaware of. As it turned out (docs) if you run npm version <release type> the version script in your package.json will be called after the version is bumped but before git 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

ruffle1986 commented 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

ruffle1986 commented 6 years ago

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.