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

Allow ignoring pre-releases #111

Open
ctron opened this issue Jan 26, 2023 · 3 comments
Open

Allow ignoring pre-releases #111

ctron opened this issue Jan 26, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@ctron
Copy link

ctron commented Jan 26, 2023

Is your feature request related to a problem? Please describe.

Automating releases, using pre-releases (RCs) like -alpha.1 doesn't allow to properly generate change logs that make sense to the user.

Assuming you have: 1.0.0-rc.1, 1.0.0-rc.2, 1.0.0

Then for the rc versions, I want to see the changes up to he previous version, including rcs.

When releasing the proper 1.0.0, I want all changes up to the previous proper release.

Describe the solution you'd like

I guess what I want is --ignore-pre-releases. By default (=false) a patch release (using --max-patch-releases) includes pre-releases. And so it would stop after x patch releases.

Enabling the switch (--ignore-pre-releases) would ignore the tag information, and continue to scoop up log entries until the next (non-pre-release) version is found.

Describe alternatives you've considered

Additional context

Follow up from: #59

@tobikris
Copy link
Contributor

tobikris commented Sep 4, 2024

This was solved by #247.
The flag is --ignore-prereleases.

@ctron
Copy link
Author

ctron commented Sep 4, 2024

Is that already released?

@hdevalke
Copy link
Collaborator

hdevalke commented Sep 4, 2024

Not yet. There is still one issue I would like to fix before releasing the next version. Probably this weekend.

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

No branches or pull requests

3 participants