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

Add possibility to skip changelog for pre releases #113

Open
Deadvi5 opened this issue Jan 30, 2024 · 1 comment
Open

Add possibility to skip changelog for pre releases #113

Deadvi5 opened this issue Jan 30, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@Deadvi5
Copy link

Deadvi5 commented Jan 30, 2024

In order to avoid duplications in the changelog, it would be nice to have an options like --skip-changelog that allow to skip changelog writing with pre-releases.

To summarize with an example:

versionize --pre-release alpha
versionize --pre-release alpha
versionize --aggregate-pre-releases

Will actually produce

v1.0.0-alpha.0

  • featA
    v1.0.0-alpha.1
  • featB
    v1.0.0
  • featA
  • featB

Request scope is

versionize --pre-release alpha --skip-changelog
versionize --pre-release alpha --skip-changelog
versionize --aggregate-pre-releases

Will produce

v1.0.0

  • featA
  • featB

A more optimal alternatives is an option that delete alpha.0 and alpha.1 from the changelog when a stable is released. In this way we can see changelog of --pre-release until a stable is released.

The flow will be

versionize --pre-release alpha 
versionize --pre-release alpha

v1.0.0-alpha.0

  • featA
    v1.0.0-alpha.1
  • featB
versionize --aggregate-pre-releases --skip-prerelease-changelog

v1.0.0

  • featA
  • featB
@Deadvi5 Deadvi5 changed the title Add possibility to skip changelog for prereleases Add possibility to skip changelog for pre releases Jan 31, 2024
@cabauman
Copy link
Contributor

cabauman commented Feb 4, 2024

Hey, thanks for sharing the idea. We'll look into it.

@cabauman cabauman added the enhancement New feature or request label Mar 5, 2024
@cabauman cabauman self-assigned this May 5, 2024
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

2 participants