This is an automated email from the ASF dual-hosted git repository.

robbie pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/activemq-website.git


The following commit(s) were added to refs/heads/main by this push:
     new c3cd96200 fix download page links following 
cc38dced56cdf9b8df6bd94424fcf63b7a26a641
c3cd96200 is described below

commit c3cd96200f1a5f10af58ab2b235438088eaba7e5
Author: Robbie Gemmell <[email protected]>
AuthorDate: Mon Nov 3 12:26:40 2025 +0000

    fix download page links following cc38dced56cdf9b8df6bd94424fcf63b7a26a641
    
    - Use the helper script as required, dont link to the CDN directly
    - Link direct to archive for older checksums/sigs, dont rely on redirects
---
 src/_includes/artemis_release.md | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

diff --git a/src/_includes/artemis_release.md b/src/_includes/artemis_release.md
index 281a95ee3..e2c198caa 100644
--- a/src/_includes/artemis_release.md
+++ b/src/_includes/artemis_release.md
@@ -7,11 +7,15 @@
 [Release Notes](release-notes-{{include.release.version}}) | [Git 
Report](commit-report-{{include.release.version}}) | 
[Documentation:](../documentation/{{docs_version}}) 
[HTML](../documentation/{{docs_version}}) / 
[PDF](../documentation/{{docs_version}}/book.pdf) |{% if include.examples_link 
%} [Examples](https://github.com/apache/activemq-artemis-examples/) |{% endif 
%} [Docker](https://hub.docker.com/r/apache/activemq-artemis/tags) | Java 
compatibility: **{{include.release.java_version}}**
 
 {% if include.is_current_release %}
-  {% assign distro_url = "https://dlcdn.apache.org"; %}
+  {% capture distro_url_base 
%}https://www.apache.org/dyn/closer.lua?filename=activemq/activemq-artemis/{{include.release.version}}{%
 endcapture %}
+  {% capture verify_url_base 
%}https://downloads.apache.org/activemq/activemq-artemis/{{include.release.version}}{%
 endcapture %}
+  {% assign distro_url_suffix = "&action=download" %}
 {% else %}
-  {% assign distro_url = "https://archive.apache.org/dist"; %}
+  {% capture distro_url_base 
%}https://archive.apache.org/dist/activemq/activemq-artemis/{{include.release.version}}{%
 endcapture %}
+  {% assign verify_url_base = distro_url_base %}
+  {% assign distro_url_suffix = "" %}
 {% endif %}
 
-tar.gz:|[apache-artemis-{{include.release.version}}-bin.tar.gz]({{distro_url}}/activemq/activemq-artemis/{{include.release.version}}/apache-artemis-{{include.release.version}}-bin.tar.gz)|[SHA512](https://downloads.apache.org/activemq/activemq-artemis/{{include.release.version}}/apache-artemis-{{include.release.version}}-bin.tar.gz.sha512)|[ASC
 
Signature](https://downloads.apache.org/activemq/activemq-artemis/{{include.release.version}}/apache-artemis-{{include.release.version}}-bin.tar.gz.asc)
-ZIP:|[apache-artemis-{{include.release.version}}-bin.zip]({{distro_url}}/activemq/activemq-artemis/{{include.release.version}}/apache-artemis-{{include.release.version}}-bin.zip)|[SHA512](https://downloads.apache.org/activemq/activemq-artemis/{{include.release.version}}/apache-artemis-{{include.release.version}}-bin.zip.sha512)|[ASC
 
Signature](https://downloads.apache.org/activemq/activemq-artemis/{{include.release.version}}/apache-artemis-{{include.release.version}}-bin.zip.asc)
-Source 
Distribution:|[apache-artemis-{{include.release.version}}-source-release.tar.gz]({{distro_url}}/activemq/activemq-artemis/{{include.release.version}}/apache-artemis-{{include.release.version}}-source-release.tar.gz)|[SHA512](https://downloads.apache.org/activemq/activemq-artemis/{{include.release.version}}/apache-artemis-{{include.release.version}}-source-release.tar.gz.sha512)|[ASC
 
Signature](https://downloads.apache.org/activemq/activemq-artemis/{{include.release.version}}/apach
 [...]
+tar.gz:|[apache-artemis-{{include.release.version}}-bin.tar.gz]({{distro_url_base}}/apache-artemis-{{include.release.version}}-bin.tar.gz{{distro_url_suffix}})|[SHA512]({{verify_url_base}}/apache-artemis-{{include.release.version}}-bin.tar.gz.sha512)|[ASC
 
Signature]({{verify_url_base}}/apache-artemis-{{include.release.version}}-bin.tar.gz.asc)
+ZIP:|[apache-artemis-{{include.release.version}}-bin.zip]({{distro_url_base}}/apache-artemis-{{include.release.version}}-bin.zip{{distro_url_suffix}})|[SHA512]({{verify_url_base}}/apache-artemis-{{include.release.version}}-bin.zip.sha512)|[ASC
 
Signature]({{verify_url_base}}/apache-artemis-{{include.release.version}}-bin.zip.asc)
+Source 
Distribution:|[apache-artemis-{{include.release.version}}-source-release.tar.gz]({{distro_url_base}}/apache-artemis-{{include.release.version}}-source-release.tar.gz{{distro_url_suffix}})|[SHA512]({{verify_url_base}}/apache-artemis-{{include.release.version}}-source-release.tar.gz.sha512)|[ASC
 
Signature]({{verify_url_base}}/apache-artemis-{{include.release.version}}-source-release.tar.gz.asc)


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact


Reply via email to