cookpete/auto-changelog

I don't understand this software

Closed this issue · 5 comments

I am trying to integrate this with my project (on github), but after commiting messages and then running npm run version (from the example provided) it just generates this:

image

Am I missing a step? My commit messages simply aren't being displayed.

zwit commented

you need to have non empty commit messages + tag releases

do you have a public package to look at ?

you need to have non empty commit messages + tag releases

do you have a public package to look at ?

Sure, I was trying to integrate it with this:
https://gitlab.com/brickhill/open-source/node-hill

It's called "node-hill" on npm. I did not do empty commit messages in my testing.

zwit commented

there is no tag release

This tool uses git tags to generate diffs for previous versions. Your repo has no tags, so it will output nothing.

You could retrospectively tag your old releases and try running it again: https://git-scm.com/book/en/v2/Git-Basics-Tagging#_tagging_later

Or you can generate the changes for the (currently) unreleased upcoming release if that's what you want:
https://github.com/cookpete/auto-changelog#usage

-u, --unreleased # include section for unreleased changes