-
Notifications
You must be signed in to change notification settings - Fork 18
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
Customizable Commit Prefixes for Version Bumping #137
Comments
Hey @okaryo, thanks for coming up with this idea 😊 I like your suggestion. Since we do not need this feature ourselves, we are not going to implement this any time soon, but if you want to work on a PR, let's discuss a few details (before you start), and we would be happy to merge it. |
Hi @goloroden , Thank you for your positive response! I’d like to take on this feature. There are a few points I’d like to align on before I start working on the PR:
How does this sound to you? If there are any other topics or concerns that you think we should align on, please let me know. Best regards, |
Hi @okaryo 👋 Thank you so very much for bringing these things up to discussion. That's ecactly what I wanted to talk about as well, to avoid unnecessary renaming work sooner or later. I think it's always a good idea to have a well-thought concept before you start coding. Ad 1, 2, and 4: I agree that it makes sense to overwrite the hard-coded values, while keeping them as a fallback. However, to stay in the same terminology, I'd probably suggest to name these Ad 3: I'd like to avoid having both, and if I had to choose one, I'd prefer the multi-line option (better readability if you have many prefixed, better ability to sort, less extra characters such as quotes and commas, …). Besides this, I think the most important thing it to extend the tests, and have really robust testing, and also updating the Regarding releasing a new version, you don't have to take of anything, as this is completely automated by our build process (including managing the version number). Last but not least: If you are dealing with the code base anyway, you might want to also update any outdated dependencies (you don't have to, if you don't want to). I just wanted to mention this since we have one oudated dependency for quite some time now, and nobody took the time so far to get it working (something seems to have changed there). So if you want to, feel free … 😊 |
Hi @goloroden , Thank you for your detailed feedback! I want to make sure I fully understand the requirements for this feature:
Does this align with your expectations? Please let me know if I missed anything. Regarding the tests and documentation, I fully agree with you. I’ll make sure to extend the tests and update the README.md accordingly. As for the outdated dependencies, I’ll take a look at them as well. If I can address the issue, I’ll submit a separate Pull Request for that. I plan to start working on this feature over the weekend. Best regards, |
Hi @okaryo 👋 Thanks for summing things up – this sounds great 😊 (And, to have said that: It's so rare that people think about upcoming changes made in a PR in advance in that detail (if at all), but this is so helpful to avoid unneeded work on both sides. So, thanks for taking care of all of this in this level of detail, I really appreciate that!) |
What is this feature about?
Thank you for creating such a helpful tool! I've been using it regularly in GitHub Actions.
I would like to request a feature that allows customization of commit prefixes that trigger version bumps in get-next-version. Currently, the tool increments the minor version with
feat:
and the patch version withfix:
. However, it would be helpful to allow users to define their own commit prefixes for version bumps. For example, prefixes likeperf
ordeps
could also trigger a patch version bump, reflecting performance improvements or dependency updates that don't directly affect user-visible features but still improve the overall application.What do you think about this feature?
What needs to be done to implement this feature?
What else should we know?
…
The text was updated successfully, but these errors were encountered: