I want to get tag release note, is it possible ?
I can get remote tags with :
git ls-remote --tags https://my git repo
But I want the release notes text attached to them?
Using git you can get a list of commit messages by cloning the repo and running
git log TAG1..TAG2 --oneline --decorate
to get an output like this
55bbbdc (tag: 0.0.2) 0.0.2
254aa66 fix(eslint-plugin): expose new rules and use type guards (#8)
23d5a6f feat(eslint-plugin): prefer onpush component cd (#7)
While it's can be convenient for personal use, this is rarely a good format for sharing with others. To get better results use libraries like github-changelog-generator (Ruby, Github only) or auto-changelog (Node.js).
I've built a list of release notes best practices to take them to the next level. It requires being mindful about formatting, writing and annotating commit messages.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With