---
layout: default
title: Debug site.github
---
```JSON
{{ site.github | neat_json }}
```
{%- assign releases = site.github.releases | where: "draft", false | sort: "tag_name" | reverse -%}
## [UNRELEASED]({{ site.github.repository_url }}/tree/master/)
[compare changes to last release]({{ site.github.repository_url }}/compare/{{ releases[0].tag_name }}...master#files_bucket "Compare changes in master for upcoming release")
{% for release in releases limit:5 %}
## [{{ release.name }}]({{ release.html_url }}) {% if release.prerelease -%}(pre-release){%- endif %}
Often there is the question to get the download URL for an asset (e.g. a setup-file) of the latest release of a project. In my case I provide an executable, which includes the version number in its name, like this:
project-X.Y.Z-setup.exe
together with the source as ZIP- and Tarball-archive. Now to get the download URLs of the assets and source archives using the GitHub API one can get and process this URL (replacing USER
and PROJECT
with the GitHub user account and projectname accordingly):
NewerOlder