generate changelog for a single tag
See original GitHub issueDescription
Hi everyone, thanks for your work. I’d like to generate my changelog with commitzen in ci, and store them in github releases instead of a whole changelog.md in my source files.
But It looks impossible now, I can only generate the full changelog, or split them manually from a specific tag.
Possible Solution
add a filter arguments to filter single tag like:
cz changelog --tag v0.0.5
additional information
There already has been a --start-rev
argument that may help with this. But I think it would be better to have a way select to just a single tag for ci or other things to simplify the workflow.
This is inspired by https://github.com/git-chglog/git-chglog#cli-usag
Now I’m doing it with git-chglog "$TAG" > chglog.md
and gh release create "$TAG" -F chglog.md
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Git changelog: how to get all changes up to a specific tag?
Is there an easy way or command to get all git commits up to a specific tag to generate an automatic changelog for...
Read more >loopwerk/tag-changelog: Automatically generate a ... - GitHub
A GitHub Action triggered by a new (valid semver) tag getting pushed. It then fetches all the commits since the previous tag and...
Read more >How To Automatically Generate A Helpful Changelog From ...
Creating a changelog is a usual task if a new software version is going to be released. It contains all the changes which...
Read more >How to generate Release Notes / Changelog from Git ...
Can be done with a simple Bash one-liner: git log $(git describe --tags --abbrev=0)..HEAD --pretty=format:"%h %s".
Read more >A Beginner's Guide to Git — What is a Changelog and How to ...
the usual way: create a text file and start to enumerate all your changes with a specific date · the developer choice (alias...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
git-chglog has a syntax like
0.0.3..0.0.5
to select versions from 0.0.3 to 0.0.5Hope this information could help https://github.com/commitizen-tools/commitizen/issues/225
Even through I don’t like this syntax
This could be interesting. What if we used
version
instead oftag
? Would that be okay? Of course the tag would be calculated based on thetag_format
.This way you could do: