-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Auto bump package version number on new release #525
Comments
Hello @maltejur, we need to consider multiple boundary conditions when taking about the auto bumping of package versions. We already started to talk about it in #497:
Summarized the main challenge is to determine the next semver conform release number based on the commits done and I don't know any other way than standardized commit messages. But I'm open to different approaches! :) |
Well at least for new icons, this repo seems to already do a pretty good job at that (every icon pr gets squashed to
Release 2.11.0Icons
Installation To install this version from npm, run New icon pull requests could now be directly made against main, or the commits get manually merged into main to release them. |
And what should happen when the squashed commit does not start with Don't get me wrong, I appreciate the idea of workflow automatisation, but there is a lot to consider and work needs to be done to make such a script fail-safe and helpful in real world usage. I'm speaking on experience from internal projects where we have automated such strategies. |
You are probably right that this approach would just produce more work instead of giving any benefit. Thanks for your opinion on this tho! |
Now that there is a automated npm workflow, would it be possible to automatically create a minor release on every PR merged. For example, when a new icon is added, the version gets bumped from 2.10.1 to 2.10.2 with the new icon.
The text was updated successfully, but these errors were encountered: