You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@grails.apache.org by jd...@apache.org on 2025/06/10 14:27:12 UTC
(grails-forge) branch 7.0.x updated (e7c205d -> a4d0cc7)
This is an automated email from the ASF dual-hosted git repository.
jdaugherty pushed a change to branch 7.0.x
in repository https://gitbox.apache.org/repos/asf/grails-forge.git
from e7c205d [skip ci] Merge pull request #591 from jdaugherty/7.0.x
new 80a58d0 fix release workflow
new e5328e2 remove sdkman workflow
new a179de4 Remove test update logic that's no longer relevant
new a4d0cc7 Back to snapshot
The 4 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/scripts/setReleasedGrailsVersion.sh | 3 --
.github/scripts/setSnapshotGrailsVersion.sh | 2 -
.github/workflows/release.yml | 66 ++++++++++++++---------------
.github/workflows/sdkman.yml | 46 --------------------
gradle.properties | 4 +-
5 files changed, 35 insertions(+), 86 deletions(-)
delete mode 100644 .github/workflows/sdkman.yml
(grails-forge) 03/04: Remove test update logic that's no longer relevant
Posted by jd...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
jdaugherty pushed a commit to branch 7.0.x
in repository https://gitbox.apache.org/repos/asf/grails-forge.git
commit a179de4bceb20678c5f33f27930feaae1b9bac91
Author: James Daugherty <jd...@jdresources.net>
AuthorDate: Tue Jun 10 10:25:57 2025 -0400
Remove test update logic that's no longer relevant
---
.github/scripts/setReleasedGrailsVersion.sh | 3 ---
.github/scripts/setSnapshotGrailsVersion.sh | 2 --
2 files changed, 5 deletions(-)
diff --git a/.github/scripts/setReleasedGrailsVersion.sh b/.github/scripts/setReleasedGrailsVersion.sh
index 5010e57..f6d7f1c 100755
--- a/.github/scripts/setReleasedGrailsVersion.sh
+++ b/.github/scripts/setReleasedGrailsVersion.sh
@@ -21,7 +21,4 @@ set -e
echo "Update grailsVersion to ${GITHUB_REF:11}"
sed -i "s/^grailsVersion.*$/grailsVersion\=${GITHUB_REF:11}/" gradle.properties
-sed -i "s/grailsVersion=${GITHUB_REF:11}-SNAPSHOT/grailsVersion\=${GITHUB_REF:11}/" grails-forge-core/src/test/groovy/org/grails/forge/feature/grails/GrailsGradlePluginSpec.groovy
-echo "value=${GITHUB_REF:11}" >> $GITHUB_OUTPUT
git add gradle.properties
-git add grails-forge-core/src/test/groovy/org/grails/forge/feature/grails/GrailsGradlePluginSpec.groovy
\ No newline at end of file
diff --git a/.github/scripts/setSnapshotGrailsVersion.sh b/.github/scripts/setSnapshotGrailsVersion.sh
index fa792d7..48386b7 100755
--- a/.github/scripts/setSnapshotGrailsVersion.sh
+++ b/.github/scripts/setSnapshotGrailsVersion.sh
@@ -21,6 +21,4 @@ set -e
echo "Setting new Grails snapshot version"
sed -i "s/^grailsVersion.*$/grailsVersion\=${NEXT_VERSION}-SNAPSHOT/" gradle.properties
-sed -i "s/grailsVersion=${GITHUB_REF:11}/grailsVersion\=${NEXT_VERSION}-SNAPSHOT/" grails-forge-core/src/test/groovy/org/grails/forge/feature/grails/GrailsGradlePluginSpec.groovy
git add gradle.properties
-git add grails-forge-core/src/test/groovy/org/grails/forge/feature/grails/GrailsGradlePluginSpec.groovy
\ No newline at end of file
(grails-forge) 04/04: Back to snapshot
Posted by jd...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
jdaugherty pushed a commit to branch 7.0.x
in repository https://gitbox.apache.org/repos/asf/grails-forge.git
commit a4d0cc7ccf087b463b5f26abb1a1208e99bb9893
Author: James Daugherty <jd...@jdresources.net>
AuthorDate: Tue Jun 10 10:26:05 2025 -0400
Back to snapshot
---
gradle.properties | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gradle.properties b/gradle.properties
index 3b83619..2a5b3b3 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -16,10 +16,10 @@
# specific language governing permissions and limitations
# under the License.
#
-projectVersion=7.0.0-M4
+projectVersion=7.0.0-SNAPSHOT
# grails project version
-grailsVersion=7.0.0-M4
+grailsVersion=7.0.0-SNAPSHOT
javaVersion=17
title=Grails Application Forge
(grails-forge) 02/04: remove sdkman workflow
Posted by jd...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
jdaugherty pushed a commit to branch 7.0.x
in repository https://gitbox.apache.org/repos/asf/grails-forge.git
commit e5328e23fc2caaead380f110f2c1b6dbe48d99c9
Author: James Daugherty <jd...@jdresources.net>
AuthorDate: Tue Jun 10 10:22:34 2025 -0400
remove sdkman workflow
---
.github/workflows/sdkman.yml | 46 --------------------------------------------
1 file changed, 46 deletions(-)
diff --git a/.github/workflows/sdkman.yml b/.github/workflows/sdkman.yml
deleted file mode 100644
index cf72f45..0000000
--- a/.github/workflows/sdkman.yml
+++ /dev/null
@@ -1,46 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# https://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-name: "Release to SDKMAN"
-on:
- workflow_dispatch:
- inputs:
- version:
- description: 'Version to release'
- required: true
-jobs:
- sdkmanMinorRelease:
- runs-on: ubuntu-24.04
- permissions:
- contents: read
- steps:
- - name: "📥 Checkout repository"
- uses: actions/checkout@v4
- with:
- ref: v${{ github.event.inputs.version }}
- - name: "☕️ Setup JDK"
- uses: actions/setup-java@v4
- with:
- distribution: 'liberica'
- java-version: '17'
- - name: "🐘 Setup Gradle"
- uses: gradle/actions/setup-gradle@v4
- with:
- develocity-access-key: ${{ secrets.GRAILS_DEVELOCITY_ACCESS_KEY }}
- - name: "🚀 Grails SDK minor release"
- run: ./gradlew sdkMinorRelease
- env:
- GVM_SDKVENDOR_KEY: ${{ secrets.GVM_SDKVENDOR_KEY }}
- GVM_SDKVENDOR_TOKEN: ${{ secrets.GVM_SDKVENDOR_TOKEN }}
(grails-forge) 01/04: fix release workflow
Posted by jd...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
jdaugherty pushed a commit to branch 7.0.x
in repository https://gitbox.apache.org/repos/asf/grails-forge.git
commit 80a58d08708dc57969675b1756eb83bfdde239fe
Author: James Daugherty <jd...@jdresources.net>
AuthorDate: Tue Jun 10 10:18:26 2025 -0400
fix release workflow
---
.github/workflows/release.yml | 66 +++++++++++++++++++++----------------------
1 file changed, 33 insertions(+), 33 deletions(-)
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index a727289..7fa9009 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -126,9 +126,40 @@ jobs:
-x initializeSonatypeStagingRepository
findSonatypeStagingRepository
closeSonatypeStagingRepository
+ sdkman:
+ environment: sdkman
+ name: "Release to SDKMAN!"
+ runs-on: ubuntu-24.04
+ needs: [publish]
+ steps:
+ - name: "📥 Checkout repository"
+ uses: actions/checkout@v4
+ with:
+ ref: v${{ needs.publish.outputs.release_version }}
+ - name: "☕️ Setup JDK"
+ uses: actions/setup-java@v4
+ with:
+ distribution: 'liberica'
+ java-version: '17'
+ - name: "🐘 Setup Gradle"
+ uses: gradle/actions/setup-gradle@v4
+ with:
+ develocity-access-key: ${{ secrets.GRAILS_DEVELOCITY_ACCESS_KEY }}
+ - name: "🚀 Grails SDK Minor Release"
+ if: contains(needs.build.outputs.release_version, 'M')
+ run: ./gradlew sdkMinorRelease
+ env:
+ GVM_SDKVENDOR_KEY: ${{ secrets.GVM_SDKVENDOR_KEY }}
+ GVM_SDKVENDOR_TOKEN: ${{ secrets.GVM_SDKVENDOR_TOKEN }}
+ - name: "🚀 Grails SDK Major Release"
+ if: startsWith(needs.build.outputs.release_version, '7.') && !contains(needs.build.outputs.release_version, 'M')
+ run: ./gradlew sdkMajorRelease
+ env:
+ GVM_SDKVENDOR_KEY: ${{ secrets.GVM_SDKVENDOR_KEY }}
+ GVM_SDKVENDOR_TOKEN: ${{ secrets.GVM_SDKVENDOR_TOKEN }}
release:
environment: release
- needs: publish
+ needs: [publish, sdkman]
runs-on: ubuntu-latest
permissions:
contents: write # required for gradle.properties revert
@@ -137,7 +168,7 @@ jobs:
- name: "📥 Checkout repository"
uses: actions/checkout@v4
with:
- token: ${{ secrets.GH_TOKEN }}
+ token: ${{ secrets.GITHUB_TOKEN }}
ref: v${{ needs.publish.outputs.release_version }}
- name: "Download grails-core BUILD_DATE.txt and rename to BUILD_DATE"
run: |
@@ -165,34 +196,3 @@ jobs:
uses: apache/grails-github-actions/post-release@asf
env:
RELEASE_SCRIPT_PATH: '.github/scripts/setSnapshotGrailsVersion.sh'
- sdkman:
- environment: sdkman
- name: "Release to SDKMAN!"
- runs-on: ubuntu-24.04
- needs: [publish, release]
- steps:
- - name: "📥 Checkout repository"
- uses: actions/checkout@v4
- with:
- ref: v${{ needs.publish.outputs.release_version }}
- - name: "☕️ Setup JDK"
- uses: actions/setup-java@v4
- with:
- distribution: 'liberica'
- java-version: '17'
- - name: "🐘 Setup Gradle"
- uses: gradle/actions/setup-gradle@v4
- with:
- develocity-access-key: ${{ secrets.GRAILS_DEVELOCITY_ACCESS_KEY }}
- - name: "🚀 Grails SDK Minor Release"
- if: contains(needs.build.outputs.release_version, 'M')
- run: ./gradlew sdkMinorRelease
- env:
- GVM_SDKVENDOR_KEY: ${{ secrets.GVM_SDKVENDOR_KEY }}
- GVM_SDKVENDOR_TOKEN: ${{ secrets.GVM_SDKVENDOR_TOKEN }}
- - name: "🚀 Grails SDK Major Release"
- if: startsWith(needs.build.outputs.release_version, '7.') && !contains(needs.build.outputs.release_version, 'M')
- run: ./gradlew sdkMajorRelease
- env:
- GVM_SDKVENDOR_KEY: ${{ secrets.GVM_SDKVENDOR_KEY }}
- GVM_SDKVENDOR_TOKEN: ${{ secrets.GVM_SDKVENDOR_TOKEN }}