You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by pa...@apache.org on 2019/05/20 06:36:11 UTC

[groovy-website] branch asf-site updated: Reflect the aggregation status of .0 releases more accurately

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

paulk pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/groovy-website.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new 8e11858  Reflect the aggregation status of .0 releases more accurately
8e11858 is described below

commit 8e11858207093630fddf87591ea6ea986cec8e2a
Author: Paul King <pa...@asert.com.au>
AuthorDate: Mon May 20 16:36:00 2019 +1000

    Reflect the aggregation status of .0 releases more accurately
---
 site/src/site/pages/changelogs.groovy | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/site/src/site/pages/changelogs.groovy b/site/src/site/pages/changelogs.groovy
index 3d8cd8e..c64c014 100644
--- a/site/src/site/pages/changelogs.groovy
+++ b/site/src/site/pages/changelogs.groovy
@@ -30,7 +30,7 @@ layout 'layouts/main.groovy', true,
                                 ul {
                                     minor.each { v->
                                         li {
-                                            yieldUnescaped "Changelog for "
+                                            yieldUnescaped ( !v.contains('-') && versions.any{ it.startsWith("$v-") } ? "Aggregate c" : "C" ) + "hangelog for "
                                             a(href: "changelogs/changelog-${v}.html", "Groovy $v")
                                         }
                                     }