Skip to content

Commit

Permalink
download: link to GitHub release pages
Browse files Browse the repository at this point in the history
Make it easier to get changelogs for source releases and component
versions for Windows builds.

Signed-off-by: Benjamin Gilbert <[email protected]>
  • Loading branch information
bgilbert committed Oct 8, 2023
1 parent 61b0424 commit b7c0249
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion _includes/source-release-table.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@
<table>
{% for release in releases %}
<tr class="{% cycle package: 'odd', 'even' %}">
<th>{{ release.version }}</th>
<th>
<a href="https://github.com/openslide/{{ package }}/releases/tag/v{{ release.version }}">
{{ release.version }}
</a>
</th>
<td>{{ release.date }}</td>
<td>
{% if release.no_gz == null %}
Expand Down
6 changes: 5 additions & 1 deletion download/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,11 @@ If you're looking for the bleeding edge,
<table>
{% for release in site.data.releases.winbuild %}
<tr class="{% cycle 'winbuild': 'odd', 'even' %}">
<th>{{ release.date }}</th>
<th>
<a href="https://github.com/openslide/openslide-winbuild/releases/tag/v{{ release.date|remove:'-' }}">
{{ release.date }}
</a>
</th>
<td><a href="https://github.com/openslide/openslide-winbuild/releases/download/v{{ release.date|remove:'-' }}/openslide-win32-{{ release.date|remove:'-' }}.zip">32-bit</a></td>
<td><a href="https://github.com/openslide/openslide-winbuild/releases/download/v{{ release.date|remove:'-' }}/openslide-win64-{{ release.date|remove:'-' }}.zip">64-bit</a></td>
<td><a href="https://github.com/openslide/openslide-winbuild/releases/download/v{{ release.date|remove:'-' }}/openslide-winbuild-{{ release.date|remove:'-' }}.zip">Corresponding sources</a></td>
Expand Down

0 comments on commit b7c0249

Please sign in to comment.