Skip to content

Handle revert commits #78

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jul 10, 2018
Merged

Handle revert commits #78

merged 4 commits into from
Jul 10, 2018

Conversation

pvdlg
Copy link
Member

@pvdlg pvdlg commented Jul 8, 2018

feat: exclude commit from analysis if they have a matching revert commit

If multiple commits are analyzed at the same time, and one revert another, they will be both ignored. As those commits do not change code within the group of analyzed commits they shouldn't trigger a release.

feat: add release rule for revert commits

If a revert commit is analyzed (without the reverted commit being part of the commit group) it will now trigger a patch release by default.

pvdlg added 4 commits July 7, 2018 23:24
If multiple commits are analyzed at the same time, and one revert another, they will be both ignored. As those commits do not change code within the group of analyzed commits they shouldn't trigger a release.
If a revert commit is analyzed (without the reverted commit being part of the commit group) it will now trigger a `patch` release by default.
@semantic-release-bot
Copy link
Collaborator

🎉 This PR is included in version 5.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants