clog-tool / clog-cli

Generate beautiful changelogs from your Git commit history
MIT License
856 stars 43 forks source link

Broken commit hash link generate for GitHub #106

Open mapaiva opened 6 years ago

mapaiva commented 6 years ago

Hello!

Currently, I'm generating changelogs on a non-master branch develop on a GitHub project. The CHANGELOG.md file is generated properly but with broken commit hash links.

For example, this link https://github.com/org/project/blob/develop/c21e6cc7 points to a non-existing GH page 😞.

If I use the URL https://github.com/org/project/commit/a72c4419 it works nicely.

I don't know if it's a clog or a clog-cli issue, that's why I've filed that here.

Thanks for the great project! 🎉

stevenh commented 3 years ago

Had the same issues if I configure the clog repository it generates the right link.

Seems like its relative links that cause the issue.

[clog]
repository = "github.com/myname/myrepo"