Skip to content

Commit

Permalink
[CALCITE-4639] Broken links on download page
Browse files Browse the repository at this point in the history
  • Loading branch information
NobiGo authored and julianhyde committed Oct 20, 2021
1 parent c6a9599 commit 0390069
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 39 deletions.
31 changes: 0 additions & 31 deletions site/_posts/2014-06-27-release-0.8.0-incubating.md

This file was deleted.

2 changes: 1 addition & 1 deletion site/_posts/2019-03-26-release-1.20.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ author: mmior
version: 1.20.0
categories: [release]
tag: v1-20-0
sha: 9c2b408e7a9bfc7b60b34cd61cf6649cb6d17b21f44b4799d52e118ec69471e8
sha: 31a3321a23e995e6c7bdc7f4be5dbee275c5a61f
---
<!--
{% comment %}
Expand Down
27 changes: 20 additions & 7 deletions site/downloads/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,24 +47,37 @@ Release | Date | Commit | Download
{% endcomment %}{% assign q = "" %}{% comment %}
{% endcomment %}{% assign d = "https://archive.apache.org/dist" %}{% comment %}
{% endcomment %}{% endif %}{% comment %}
{% endcomment %}{% capture d1 %}{{ post.date | date: "%F"}}{% endcapture %}{% comment %}
{% endcomment %}{% capture d2 %}2017-08-31{% endcapture %}{% comment %}
{% endcomment %}{% capture d3 %}2018-06-01{% endcapture %}{% comment %}
{% endcomment %}{% capture d4 %}2020-03-01{% endcapture %}{% comment %}
{% endcomment %}{% if d1 > d4 %}{% comment %}
{% endcomment %}{% capture d1 %}"{{ post.date | date: "%F"}}"{% endcapture %}{% comment %}
{% endcomment %}{% capture d2 %}"2014-08-31"{% endcapture %}{% comment %}
{% endcomment %}{% capture d3 %}"2016-12-31"{% endcapture %}{% comment %}
{% endcomment %}{% capture d4 %}"2017-08-31"{% endcapture %}{% comment %}
{% endcomment %}{% capture d5 %}"2018-06-01"{% endcapture %}{% comment %}
{% endcomment %}{% capture d6 %}"2020-03-01"{% endcapture %}{% comment %}
{% endcomment %}{% if d1 > d6 %}{% comment %}
{% endcomment %}{% assign digest = "sha512" %}{% comment %}
{% endcomment %}{% else if d1 > d2 %}{% comment %}
{% endcomment %}{% elsif d1 > d4 %}{% comment %}
{% endcomment %}{% assign digest = "sha256" %}{% comment %}
{% endcomment %}{% elsif d1 > d3 %}{% comment %}
{% endcomment %}{% assign digest = "mds" %}{% comment %}
{% endcomment %}{% else %}{% comment %}
{% endcomment %}{% assign digest = "md5" %}{% comment %}
{% endcomment %}{% endif %}{% comment %}
{% endcomment %}{% if d1 > d2 %}{% comment %}
{% endcomment %}<a href="{{ site.baseurl }}/docs/history.html#{{ post.tag }}">{{ post.version }}</a>{% comment %}
{% endcomment %} | {{ post.date | date_to_string }}{% comment %}
{% endcomment %} | <a href="https://github.com/apache/calcite/commit/{{ post.sha }}">{{ post.sha | slice: 0, 7 }}</a>{% comment %}
{% endcomment %} | <a href="{{ p }}/{{ v }}-src.tar.gz{{ q }}">tar</a>{% comment %}
{% endcomment %} (<a href="{{ d }}/calcite/{{ v }}/{{ v }}-src.tar.gz.{{ digest }}">digest</a>{% comment %}
{% endcomment %} <a href="{{ d }}/calcite/{{ v }}/{{ v }}-src.tar.gz.asc">pgp</a>){% comment %}
{% endcomment %}{% if d1 < d3 %}{% comment %}
{% endcomment %}{% else %}{% comment %}
{% endcomment %}<a href="{{ site.baseurl }}/docs/history.html#{{ post.tag }}">{{ post.version }}</a>{% comment %}
{% endcomment %} | {{ post.date | date_to_string }}{% comment %}
{% endcomment %} | <a href="https://github.com/apache/calcite/commit/{{ post.sha }}">{{ post.sha | slice: 0, 7 }}</a>{% comment %}
{% endcomment %} | <a href="{{ p }}/optiq-0.9.0-incubating-source-release.zip">zip</a>{% comment %}
{% endcomment %} (<a href="{{ d }}/calcite/{{ v }}/optiq-0.9.0-incubating-source-release.zip.{{ digest }}">digest</a>{% comment %}
{% endcomment %} <a href="{{ d }}/calcite/{{ v }}/optiq-0.9.0-incubating-source-release.zip.asc">pgp</a>){% comment %}
{% endcomment %}{% endif %}{% comment %}
{% endcomment %}{% if d1 < d5 and d1 > d2 %}{% comment %}
{% endcomment %} {% raw %}<br>{% endraw %}{% comment %}
{% endcomment %} <a href="{{ p }}/{{ v }}-src.zip{{ q }}">zip</a>{% comment %}
{% endcomment %} (<a href="{{ d }}/calcite/{{ v }}/{{ v }}-src.zip.{{ digest }}">digest</a>{% comment %}
Expand Down

0 comments on commit 0390069

Please sign in to comment.