chelnak / gh-changelog

A gh cli extension that will make your changelogs ✨
MIT License
110 stars 4 forks source link

Command `gh changelog new` fails when there are no tags #90

Closed chelnak closed 1 year ago

chelnak commented 2 years ago
image
Jordan-Dennis commented 1 year ago

Hi @chelnak, I have not been able to get gh changelog to find my tags. Here is the output of git tag, image and here is the output of gh changelog new image Regards Jordan

chelnak commented 1 year ago

Hey @Jordan-Dennis, right now the tags need to be present on GitHub as we consume data from their API.

If you run git push --follow-tags and run the command again, does it work?

Maybe the error message here could be more descriptive.

Jordan-Dennis commented 1 year ago

Thanks @chelnak, that worked now, but there is not a lot of information available in the CHANGELOG.md. Is there some way of making it display more information (i.e. flags in the commits ect)? Regards Jordan

Jordan-Dennis commented 1 year ago

Oh, I see, it is about the tags in the PRs.

chelnak commented 1 year ago

Hey. So it aggregates the PRs in between each tag. There should also be a link to the comparison between tags where you can see the commits.

Jordan-Dennis commented 1 year ago

Awesome thanks.