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 2020/09/28 07:41:56 UTC

[groovy-website] branch asf-site updated: prepare for 4.0.0-alpha-1 release (changelog parser should now handle versions starting with 4)

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 4b40c74  prepare for 4.0.0-alpha-1 release (changelog parser should now handle versions starting with 4)
4b40c74 is described below

commit 4b40c74389e05b1ee63491737ee5e368b66ea72d
Author: Paul King <pa...@asert.com.au>
AuthorDate: Mon Sep 28 17:41:47 2020 +1000

    prepare for 4.0.0-alpha-1 release (changelog parser should now handle versions starting with 4)
---
 generator/src/main/groovy/generator/ChangelogParser.groovy | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/generator/src/main/groovy/generator/ChangelogParser.groovy b/generator/src/main/groovy/generator/ChangelogParser.groovy
index a4d48d0..a80452c 100644
--- a/generator/src/main/groovy/generator/ChangelogParser.groovy
+++ b/generator/src/main/groovy/generator/ChangelogParser.groovy
@@ -34,7 +34,7 @@ class ChangelogParser {
     private static final String BUGTYPE_MARK = '** '
     private static final String ITEM_MARK = '    * '
     private static final Pattern ITEM_PATTERN = ~/\[(GROOVY-[0-9]+)\] - (.+)/
-    private static final String VERSION_PATTERN = /^((1\.)|[23]\.)/
+    private static final String VERSION_PATTERN = /^((1\.)|[234]\.)/
     public static final Map<String, String> INFO = [
             '1.1.0': 'Unreleased: renamed to 1.5.0',
             '1.9.0': 'Unreleased: renamed to 2.0.0',