jekyll/github-metadata

latest_release does not work and returns empty string

arxeiss opened this issue · 2 comments

I see that @Crunch09 created pull request #88 which was merged. But when I'm trying to use that attribute, there is always an empty string.

Trying to do it for repo https://github.com/arxeiss/responsive-pagination and when I use {{ site.github.latest_release.zipball_url }} and page https://arxeiss.github.io/responsive-pagination/ it always returns empty string. Am I doing something wrong or it does not work?

I think you need to have a full release published (with a release document) for it to be reflected via the GitHub API.

Compare releases for your repo: https://github.com/arxeiss/responsive-pagination/releases
and for this repo: https://github.com/jekyll/github-metadata/releases

Yes, my fault, you were correct.

Thank you for quick reply