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 c4de878e44 Adjust release notes links
c4de878e44 is described below

commit c4de878e449931886a4337ed1df0730f9b9e714d
Author: James Fredley <[email protected]>
AuthorDate: Wed Jun 18 14:38:59 2025 -0400

    Adjust release notes links
---
 .../main/groovy/org/grails/documentation/DownloadPage.groovy | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git 
a/buildSrc/src/main/groovy/org/grails/documentation/DownloadPage.groovy 
b/buildSrc/src/main/groovy/org/grails/documentation/DownloadPage.groovy
index b45a25aff3..dda56b3972 100644
--- a/buildSrc/src/main/groovy/org/grails/documentation/DownloadPage.groovy
+++ b/buildSrc/src/main/groovy/org/grails/documentation/DownloadPage.groovy
@@ -81,11 +81,13 @@ class DownloadPage {
                     li {
                         a(href: 
"https://github.com/apache/grails-core/releases/tag/v${version}";, 'Grails 
Release Notes')
                     }
-                    li {
-                        a(href: 
"https://github.com/apache/grails-spring-security/releases/tag/v${version}";, 
'Grails Spring Security Plugin Release Notes')
-                    }
-                    li {
-                        a(href: 
"https://github.com/apache/grails-redis/releases/tag/v5.0.0-M4";, 'Grails Redis 
5.0.0-M4 Plugin Release Notes')
+                    if (version.startsWith('7')) {
+                        li {
+                            a(href: 
"https://github.com/apache/grails-spring-security/releases/tag/v${version}";, 
'Grails Spring Security Plugin Release Notes')
+                        }
+                        li {
+                            a(href: 
"https://github.com/apache/grails-redis/releases/tag/v5.0.0-M4";, 'Grails Redis 
5.0.0-M4 Plugin Release Notes')
+                        }
                     }
                 }
             }

Reply via email to