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

jbertram 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 cc38dced5 NO-JIRA simply Artemis release download code
cc38dced5 is described below

commit cc38dced56cdf9b8df6bd94424fcf63b7a26a641
Author: Justin Bertram <[email protected]>
AuthorDate: Fri Jul 18 16:24:39 2025 -0500

    NO-JIRA simply Artemis release download code
    
    There's no good reason to duplicate the table MarkDown for the current
    vs. archived release. The links can simply be parameterized.
    
    There's a few other simplifications here as well.
    
    No semantic change here, just simpler code.
---
 src/_includes/artemis_release.md | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/src/_includes/artemis_release.md b/src/_includes/artemis_release.md
index 6401a2bca..ecdedc458 100644
--- a/src/_includes/artemis_release.md
+++ b/src/_includes/artemis_release.md
@@ -1,17 +1,17 @@
-{% assign docs_version = include.release.docs_version %}
-{% assign java_version = include.release.java_version %}
 {% if include.latest_docs %}
   {% assign docs_version = "latest" %}
+{% else %}
+  {% assign docs_version = include.release.docs_version %}
 {% endif %}
 #### ActiveMQ Artemis {{include.release.version}}  
({{include.release.release_date | date_to_string: "ordinal", "US"}})
-[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 
%} Java compatibility: **{{java_version}}**
+[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 
%} Java compatibility: **{{include.release.java_version}}**
 
 {% if include.is_current_release %}
-tar.gz:|[apache-artemis-{{include.release.version}}-bin.tar.gz](https://www.apache.org/dyn/closer.cgi?filename=activemq/activemq-artemis/{{include.release.version}}/apache-artemis-{{include.release.version}}-bin.tar.gz&action=download)|[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}}/apa
 [...]
-ZIP:|[apache-artemis-{{include.release.version}}-bin.zip](https://www.apache.org/dyn/closer.cgi?filename=activemq/activemq-artemis/{{include.release.version}}/apache-artemis-{{include.release.version}}-bin.zip&action=download)|[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-
 [...]
-Source 
Distribution:|[apache-artemis-{{include.release.version}}-source-release.tar.gz](https://www.apache.org/dyn/closer.cgi?filename=activemq/activemq-artemis/{{include.release.version}}/apache-artemis-{{include.release.version}}-source-release.tar.gz&action=download)|[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/ac [...]
+  {% assign distro_url = "https://dlcdn.apache.org"; %}
 {% else %}
-tar.gz:|[apache-artemis-{{include.release.version}}-bin.tar.gz](https://archive.apache.org/dist/activemq/activemq-artemis/{{include.release.version}}/apache-artemis-{{include.release.version}}-bin.tar.gz)|[SHA512](https://archive.apache.org/dist/activemq/activemq-artemis/{{include.release.version}}/apache-artemis-{{include.release.version}}-bin.tar.gz.sha512)|[ASC
 
Signature](https://archive.apache.org/dist/activemq/activemq-artemis/{{include.release.version}}/apache-artemis-{{include.rel
 [...]
-ZIP:|[apache-artemis-{{include.release.version}}-bin.zip](https://archive.apache.org/dist/activemq/activemq-artemis/{{include.release.version}}/apache-artemis-{{include.release.version}}-bin.zip)|[SHA512](https://archive.apache.org/dist/activemq/activemq-artemis/{{include.release.version}}/apache-artemis-{{include.release.version}}-bin.zip.sha512)|[ASC
 
Signature](https://archive.apache.org/dist/activemq/activemq-artemis/{{include.release.version}}/apache-artemis-{{include.release.version
 [...]
-Source 
Distribution:|[apache-artemis-{{include.release.version}}-source-release.tar.gz](https://archive.apache.org/dist/activemq/activemq-artemis/{{include.release.version}}/apache-artemis-{{include.release.version}}-source-release.tar.gz)|[SHA512](https://archive.apache.org/dist/activemq/activemq-artemis/{{include.release.version}}/apache-artemis-{{include.release.version}}-source-release.tar.gz.sha512)|[ASC
 
Signature](https://archive.apache.org/dist/activemq/activemq-artemis/{{include. 
[...]
+  {% assign distro_url = "https://archive.apache.org/dist"; %}
 {% 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
 [...]


---------------------------------------------------------------------
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