Skip to content
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

Ignore pre-release versions #7

Open
mongolyy opened this issue Jan 6, 2025 · 0 comments
Open

Ignore pre-release versions #7

mongolyy opened this issue Jan 6, 2025 · 0 comments

Comments

@mongolyy
Copy link

mongolyy commented Jan 6, 2025

I use action-bumpr and have an idea to improve the behavior of bump.

Currently, when I run the following commands:

$ git tag
v0.1.0
v0.2.0
v0.3.0-beta

$ bump minor
v0.4.0

The bump generates v0.4.0 as the next version.
However, in my use case, I would prefer the tool to ignore versions that contain specific keywords (e.g., -alpha, -beta, -RC) and instead return the next version based on the latest stable release.
In this case, it should return v0.3.0.

I suggest adding an option to ignore versions that contain specific keywords (e.g., -alpha, -beta, -RC).

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

No branches or pull requests

1 participant