-
-
Notifications
You must be signed in to change notification settings - Fork 420
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
chore: update .releaserc #1575
chore: update .releaserc #1575
Conversation
Around https://appium.slack.com/archives/C02956V3H/p1648278185677869 is the original discussion for refactor/chore |
OK, so it looks like @mykola-mokhnach asked about it, and it was changed. But per convention,
FWIW: When Renovate updates a production dependency, it uses the |
Regardless of what I might or might not have said about this earlier, if anything, I too think we should not release packages for chore commits. If we really want to release a package because of a commit, it's probably not actually a chore. I think chore commits should just be released whenever the next release happens afterward. |
.releaserc
Outdated
{"type": "chore", "section": "Miscellaneous Chores"}, | ||
{"type": "refactor", "section": "Code Refactoring"}, | ||
{"type": "chore", "section": "Miscellaneous Chores", "hidden": true}, | ||
{"type": "refactor", "section": "Code Refactoring", "hidden": true}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can hide only chore? (personally only hiding renovate would be preferred though)
So far, past refactoring tasks occasionally caused regressions/performance degrade (element lookup) we noticed by user reports. Keeping possible production code change in the changelog may help to guess what change might affect some behavior
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suppose, but that information can be gleaned from other sources. I'll revert it since I don't care that much
a68e241
to
050f117
Compare
Current dependencies on/for this PR:
This comment was auto-generated by Graphite. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm ok to go with this merge (mostly to reduce renovate's chore release..)
I like to keep chore and refactor in the changelog for future debugging mainly (to avoid reading commit history first) but don't have strong opinion.
050f117
to
d0664bf
Compare
This changes three things in `.releaserc` (which controls how `semantic-release` works): 1. Switched the preset from `angular` to `conventionalcommits` to match our changelog and commitlint configurations. 2. Removed the rule which causes `chore`-type commits to be released as patch versions. This was causing many unnecessary releases. 3. Hide `chore`- and `refactor`-type commits from the changelog. These are typically not useful to end users.
d0664bf
to
3aee823
Compare
|
🎉 This PR is included in version 4.21.32 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This changes three things in
.releaserc
(which controls howsemantic-release
works):angular
toconventionalcommits
to match our changelog and commitlint configurations.chore
-type commits to be released as patch versions. This was causing many unnecessary releases.chore
- andrefactor
-type commits from the changelog. These are typically not useful to end users.@KazuCocoa I see that you explicitly added the configuration to make
chore
-type commits cause patch releases, but I could not find any reasoning/intent as the original PR text (#1458) was empty.