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
Release not created, when expected to have a release created #1910
Comments
Looks like this happened because of the conventional commits plugin counting |
so if there are say 10 commits in my PR, 9 are "fix" and 1 is "chore" ... it finds a chore and then skips ? would it make more sense to change our workflow and "squash" our commits? |
I created an extra PR and merged it into main https://github.com/LEGO/klik/runs/2170303293 and then it caught all commits, so there is something not "correct". is it perhaps just the last commit that is taken into consideration? 9 "fix" commits, last commit is a "chore" and then it just doesn't release ? could that be I'm fine with the behavior of "chores" not creating releases, but if a PR contains 10 commits, and in that list of commits is a single fix, i would expect something to be released. the question is, would that be the whole PR? or just the commits all the way up to the latest "fix" or "feat". maybe i'm not understanding the default workflow using conventional commits, would like to hear your thoughts |
I think what you want is this #1723 with a little more logic around a set of conventional commits. I'll do some testing on your repo and see what I find |
I think the behavior I'm after is "do commits since last release for a package contain any fix or feat, make a release accordingly. if only chores, ignore" ... if this it too much of a breaking change, i can understand that perhaps we should change our workflow to squash/commit |
I think you're right, let me know how i can help |
Finally taking a look at this. Sorry for the delay |
Just want to be clear:
#1723 fixes |
🚀 Issue was released in |
Describe the bug
using conventional commits, with a few fixes, features and chores - a release doesn't get created.
To Reproduce
https://github.com/LEGO/klik/runs/2169371508
Expected behavior
Creating releases is sometimes unpredictable.
Screenshots
Environment information:
Additional context
The text was updated successfully, but these errors were encountered: