You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@grails.apache.org by ma...@apache.org on 2026/08/18 15:23:24 UTC
(grails-core) branch groovy-5.1.0 updated (4a289e331a -> c954bb5117)
This is an automated email from the ASF dual-hosted git repository.
matrei pushed a change to branch groovy-5.1.0
in repository https://gitbox.apache.org/repos/asf/grails-core.git
from 4a289e331a refactor: remove Groovy 5 workaround for GROOVY-12134
new 86518ca064 fix(deps): update another `groovy.version` in dependencies.gradle
new c954bb5117 ci: update version extraction logic in groovy-joint-workflow.yml to include minor version
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.github/workflows/groovy-joint-workflow.yml | 15 ++++++++-------
dependencies.gradle | 2 +-
2 files changed, 9 insertions(+), 8 deletions(-)
(grails-core) 01/02: fix(deps): update another `groovy.version` in dependencies.gradle
Posted by ma...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
matrei pushed a commit to branch groovy-5.1.0
in repository https://gitbox.apache.org/repos/asf/grails-core.git
commit 86518ca0640f58d5e54c7e132aafa0f1444c5a0d
Author: Mattias Reichel <ma...@gmail.com>
AuthorDate: Tue Aug 18 17:21:52 2026 +0200
fix(deps): update another `groovy.version` in dependencies.gradle
---
dependencies.gradle | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dependencies.gradle b/dependencies.gradle
index 0e99ca76bc..46d6912453 100644
--- a/dependencies.gradle
+++ b/dependencies.gradle
@@ -521,7 +521,7 @@ ext {
'liquibase-hibernate.version': '4.27.0',
'liquibase.version' : '4.27.0',
'hibernate.version' : '5.6.15.Final',
- 'groovy.version' : '5.0.8',
+ 'groovy.version' : '5.1.0',
'spock.version' : '2.4-groovy-5.0',
'protobuf.version': '4.30.2',
'asm.version' : '9.10.1',
(grails-core) 02/02: ci: update version extraction logic in groovy-joint-workflow.yml to include minor version
Posted by ma...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
matrei pushed a commit to branch groovy-5.1.0
in repository https://gitbox.apache.org/repos/asf/grails-core.git
commit c954bb5117d5c1f673095730ed1e31ed3a82ff57
Author: Mattias Reichel <ma...@gmail.com>
AuthorDate: Tue Aug 18 17:22:52 2026 +0200
ci: update version extraction logic in groovy-joint-workflow.yml to include minor version
---
.github/workflows/groovy-joint-workflow.yml | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/.github/workflows/groovy-joint-workflow.yml b/.github/workflows/groovy-joint-workflow.yml
index 0a60223549..57c7660918 100644
--- a/.github/workflows/groovy-joint-workflow.yml
+++ b/.github/workflows/groovy-joint-workflow.yml
@@ -58,17 +58,18 @@ jobs:
- name: "📝 Derive matching Apache Groovy branch from dependencies.gradle"
id: groovy-branch
run: |
- # Extract the major version of `groovy.version` declared in this branch's
- # dependencies.gradle (e.g. '5.0.5' -> '5', '4.0.31' -> '4') and use it to
- # pick the matching Apache Groovy development branch (GROOVY_<major>_0_X).
+ # Extract the major and minor version of `groovy.version` declared in this
+ # branch's dependencies.gradle (e.g. '5.0.5' -> '5_0', '4.0.31' -> '4_0')
+ # and use it to pick the matching Apache Groovy development branch
+ # (GROOVY_<major>_<minor>_X).
# This keeps `7.0.x` PRs validating against Groovy 4 and `8.0.x` PRs
# validating against Groovy 5 without hard-coding the branch here.
- GROOVY_MAJOR=$(grep -m 1 "'groovy\.version'" dependencies.gradle | sed -E "s/.*'([0-9]+)\.[0-9]+\.[0-9]+.*/\1/" | tr -d '[:space:]')
- if [ -z "$GROOVY_MAJOR" ]; then
- echo "::error::Could not determine Apache Groovy major version from dependencies.gradle"
+ GROOVY_MAJOR_MINOR=$(sed -nE "s/.*'groovy\.version'.*'([0-9]+)\.([0-9]+)\.[0-9]+'.*/\1_\2/p" dependencies.gradle | head -n 1)
+ if [ -z "$GROOVY_MAJOR_MINOR" ]; then
+ echo "::error::Could not determine Apache Groovy major/minor version from dependencies.gradle"
exit 1
fi
- GROOVY_BRANCH="GROOVY_${GROOVY_MAJOR}_0_X"
+ GROOVY_BRANCH="GROOVY_${GROOVY_MAJOR_MINOR}_X"
echo "Validating against Apache Groovy branch: $GROOVY_BRANCH"
echo "value=$GROOVY_BRANCH" >> $GITHUB_OUTPUT
rm dependencies.gradle