Skip to content

is it possible to generate versioned changelog? #225

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

Open
ppodevlabs opened this issue May 9, 2025 · 3 comments
Open

is it possible to generate versioned changelog? #225

ppodevlabs opened this issue May 9, 2025 · 3 comments
Labels
question Further information is requested

Comments

@ppodevlabs
Copy link

is it possible to generate a changelog per release, beside the full one, that only holds the changes from the previous release.

@ppodevlabs ppodevlabs added the question Further information is requested label May 9, 2025
@TimothyJones
Copy link
Member

This is what it does. Could you elaborate on how you're using it? You may have something misconfigured. Check that you have all the tags present in the repository

@ppodevlabs
Copy link
Author

This is what it does. Could you elaborate on how you're using it? You may have something misconfigured. Check that you have all the tags present in the repository

Hi! i've been using it for a while and we alway generated the CHANGELOG.md file that contains all the changes in the different versions, but now, for one use case i would like to generate beside the general CHANGELOG.md a dedicated changelog file per version.... so something like

- CHANGELOG.md
- changelogs/
    - changelog-x.y.z.md
    - changelog-x.y.z.md
    - changelog-x.y.z.md

where changelog-x.y.z.md contains only the changes for the specific version

@TimothyJones
Copy link
Member

Ah, right! Apologies, I misunderstood the first time.

There isn't currently an option to do this. You could script it though - something like:

  • Do a dry run and parse the output to figure out which version you're about to make
  • Generate the changelog for just one version, named from the dry run output
  • Generate the main changelog

I'm not sure if infile also changes the output file - if it does, it'll be very easy. If it doesn't, then you'll have to muck about moving around changelog.md but still doable

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

No branches or pull requests

2 participants