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

jamesfredley pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/grails-static-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 77eb8e18704 Update download URLs for Grails 7 and homepage
77eb8e18704 is described below

commit 77eb8e18704f7f27a1bc70c842a6ff311e19558f
Author: James Fredley <[email protected]>
AuthorDate: Sun Oct 19 16:32:22 2025 -0400

    Update download URLs for Grails 7 and homepage
    
    Refactored DownloadPage.groovy to use new PostGrad URL methods for Grails 
7.x downloads. Updated index.html to remove hardcoded 7.0.0-RC2 links and use 
[%latest] variable for documentation and download URLs, ensuring the homepage 
always points to the latest version.
---
 .../org/grails/documentation/DownloadPage.groovy       | 18 +++++++++---------
 pages/index.html                                       | 14 +-------------
 2 files changed, 10 insertions(+), 22 deletions(-)

diff --git 
a/buildSrc/src/main/groovy/org/grails/documentation/DownloadPage.groovy 
b/buildSrc/src/main/groovy/org/grails/documentation/DownloadPage.groovy
index b533390791e..ec9e7f5893c 100644
--- a/buildSrc/src/main/groovy/org/grails/documentation/DownloadPage.groovy
+++ b/buildSrc/src/main/groovy/org/grails/documentation/DownloadPage.groovy
@@ -64,19 +64,19 @@ class DownloadPage {
                     ul {
                         if (version.startsWith('7')) {
                             li {
-                                a(href: sourceUrl(version), 'Source')
-                                a(href: sourceUrl(version, 'grails', 
'.sha512'), 'SHA512')
-                                a(href: sourceUrl(version, 'grails', '.asc'), 
'ASC')
+                                a(href: sourceUrlPostGrad(version), 'Source')
+                                a(href: sourceUrlPostGrad(version, 'grails', 
'.sha512'), 'SHA512')
+                                a(href: sourceUrlPostGrad(version, 'grails', 
'.asc'), 'ASC')
                             }
                             li {
-                                a(href: binaryUrl(version, 'grails'), 'Binary')
-                                a(href: binaryUrl(version, 'grails', 
'.sha512'), 'SHA512')
-                                a(href: binaryUrl(version, 'grails', '.asc'), 
'ASC')
+                                a(href: binaryUrlPostGrad(version, 'grails'), 
'Binary')
+                                a(href: binaryUrlPostGrad(version, 'grails', 
'.sha512'), 'SHA512')
+                                a(href: binaryUrlPostGrad(version, 'grails', 
'.asc'), 'ASC')
                             }
                             li {
-                                a(href: binaryUrl(version, 'grails-wrapper'), 
'Binary Wrapper')
-                                a(href: binaryUrl(version, 'grails-wrapper', 
'.sha512'), 'SHA512')
-                                a(href: binaryUrl(version, 'grails-wrapper', 
'.asc'), 'ASC')
+                                a(href: binaryUrlPostGrad(version, 
'grails-wrapper'), 'Binary Wrapper')
+                                a(href: binaryUrlPostGrad(version, 
'grails-wrapper', '.sha512'), 'SHA512')
+                                a(href: binaryUrlPostGrad(version, 
'grails-wrapper', '.asc'), 'ASC')
                             }
                             li {
                                 a(href: sourceUrl(springSecurityVersion, 
'grails-spring-security', '', 'spring-security'), "Grails Spring Security 
${springSecurityVersion} Plugin Source")
diff --git a/pages/index.html b/pages/index.html
index e4f84e47998..586fc70810b 100644
--- a/pages/index.html
+++ b/pages/index.html
@@ -16,12 +16,6 @@ body: home
         <div class="calltoactions">
             <div class="calltoaction">
                 <b>Read the docs</b>
-                <h2>
-                    <a 
href="https://grails.apache.org/docs/7.0.0-RC2/";>Documentation
-                        <span class="version">7.0.0-RC2</span>
-                    </a>
-                </h2>
-                <br>
                 <h2>
                     <a 
href="https://grails.apache.org/docs/[%latest]/";>Documentation
                         <span class="version">[%latest]</span>
@@ -32,13 +26,7 @@ body: home
             <div class="calltoaction">
                 <b>Get the latest version</b>
                 <h2>
-                    <a 
href="https://www.apache.org/dyn/closer.lua/incubator/grails/core/7.0.0-RC2/distribution/apache-grails-7.0.0-RC2-incubating-bin.zip?action=download";>Download
-                        <span class="version">7.0.0-RC2</span>
-                    </a>
-                </h2>
-                <br>
-                <h2>
-                    <a 
href="https://github.com/apache/grails-forge/releases/download/v[%latest]/grails-cli-[%latest].zip";>Download
+                    <a 
href="https://www.apache.org/dyn/closer.lua/grails/core/[%latest]/distribution/apache-grails-[%latest]-bin.zip?action=download";>Download
                         <span class="version">[%latest]</span>
                     </a>
                 </h2>

Reply via email to