bitrise-steplib / steps-generate-changelog

MIT License
2 stars 7 forks source link

Ignore merge commits #3

Closed okcoker closed 3 years ago

okcoker commented 5 years ago

It would be nice to ignore merge commits whether via branch or PR.

The changelog will generally look something like:

[xxxxxx] Merge branch 'release/1.0.0'
[xxxxxx] Merge pull request #1001 from feature/facebook-upgrade
[xxxxxx] Facebook SDK upgrade
[xxxxxx] Merge pull request #1000 from feature/fix-bug-1
[xxxxxx] Another commit for bug 1
[xxxxxx] Fix something for bug 1
[xxxxxx] Merge branch 'master' into dev

All of the merge commits just seem to add unnecessary fluff since the actual commits are probably more important here.

Maybe the feature request here would be to add an input to ignore certain commits via regex?

fehersanyi-bitrise commented 5 years ago

Hello there!

Could you make a feature request for this here please? https://discuss.bitrise.io/c/feature-request So we can implement it in the future 🙃

okcoker commented 5 years ago

Done https://discuss.bitrise.io/t/ignore-merge-commits-in-generate-changelog-step/7879