Skip to content

Commit 4032ee5

Browse files
authored
Merge branch '7.0.x' into update-profiles-m1
2 parents 0973a3b + 042ad07 commit 4032ee5

File tree

6 files changed

+34
-28
lines changed

6 files changed

+34
-28
lines changed

.github/actions/post-release/entrypoint.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@ if [ -z "$SNAPSHOT_SUFFIX" ]; then
55
SNAPSHOT_SUFFIX="-SNAPSHOT"
66
fi
77

8-
if [ -n "$MICRONAUT_BUILD_EMAIL" ]; then
9-
GIT_USER_EMAIL=$MICRONAUT_BUILD_EMAIL
10-
fi
11-
128
if [ -z "$GIT_USER_EMAIL" ]; then
139
GIT_USER_EMAIL="${GITHUB_ACTOR}@users.noreply.github.com"
1410
fi

.github/actions/pre-release/entrypoint.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@ echo -n "Determining release version: "
55
release_version=${GITHUB_REF:11}
66
echo $release_version
77

8-
if [ -n "$MICRONAUT_BUILD_EMAIL" ]; then
9-
GIT_USER_EMAIL=$MICRONAUT_BUILD_EMAIL
10-
fi
11-
128
if [ -z "$GIT_USER_NAME" ]; then
139
GIT_USER_NAME="grails-build"
1410
fi

.github/workflows/gradle.yml

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,12 @@ on:
1010
- '[3-9]+.[3-9]+.x'
1111
workflow_dispatch:
1212
jobs:
13-
build:
13+
skip_check:
14+
runs-on: ubuntu-latest
1415
outputs:
1516
found_skip_publish: ${{ steps.check_prevent_property.outputs.value }}
1617
permissions:
17-
contents: read # to fetch code (actions/checkout)
18-
strategy:
19-
matrix:
20-
java: [17, 21, 23]
21-
os: [ubuntu-latest, windows-latest, macos-latest]
22-
runs-on: ${{ matrix.os }}
18+
contents: read
2319
steps:
2420
- name: "📥 Checkout repository"
2521
uses: actions/checkout@v4
@@ -31,6 +27,18 @@ jobs:
3127
else
3228
echo "value=false" >> $GITHUB_OUTPUT
3329
fi
30+
build:
31+
needs: skip_check
32+
permissions:
33+
contents: read # to fetch code (actions/checkout)
34+
strategy:
35+
matrix:
36+
java: [17, 21, 23]
37+
os: [ubuntu-latest, windows-latest, macos-latest]
38+
runs-on: ${{ matrix.os }}
39+
steps:
40+
- name: "📥 Checkout repository"
41+
uses: actions/checkout@v4
3442
- name: "☕️ Setup JDK"
3543
uses: actions/setup-java@v4
3644
with:
@@ -47,7 +55,7 @@ jobs:
4755
DEVELOCITY_BUILD_CACHE_NODE_KEY: ${{ secrets.GRADLE_ENTERPRISE_BUILD_CACHE_NODE_KEY }}
4856
run: ./gradlew build assemble groovydoc
4957
publish:
50-
if: github.event_name == 'push' && needs.build.outputs.found_skip_publish != 'true'
58+
if: github.event_name == 'push' && needs.skip_check.outputs.found_skip_publish != 'true'
5159
needs: build
5260
permissions:
5361
contents: read # limit to read access
@@ -76,7 +84,7 @@ jobs:
7684
-Dorg.gradle.internal.publish.checksums.insecure=true
7785
publish
7886
docs:
79-
if: github.event_name == 'push' && needs.build.outputs.found_skip_publish != 'true'
87+
if: github.event_name == 'push' && needs.skip_check.outputs.found_skip_publish != 'true'
8088
needs: publish
8189
runs-on: ubuntu-latest
8290
permissions:

.github/workflows/pre-release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
targetVersion:
66
description: 'Expected Release Version'
77
required: true
8+
preventSnapshots:
9+
description: 'Prevent Snapshot Publishing'
10+
required: false
811
env:
912
GIT_USER_NAME: 'grails-build'
1013
GIT_USER_EMAIL: '[email protected]'
@@ -274,9 +277,11 @@ jobs:
274277
- name: "📥 Checkout repository"
275278
uses: actions/checkout@v4
276279
- name: "🛑 Set Prevent Snapshot Publishing Flag"
280+
if: ${{ github.event.inputs.preventSnapshots }}
277281
run: |
278282
sed -i "s/^preventSnapshotPublish.*$/preventSnapshotPublish\=true/" gradle.properties
279283
- name: "📩 Commit flag to prevent snapshot publishing"
284+
if: ${{ github.event.inputs.preventSnapshots }}
280285
run: |
281286
git config user.name "${{ env.GIT_USER_NAME }}"
282287
git config user.email "${{ env.GIT_USER_EMAIL }}"

gradle.properties

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,16 @@ org.gradle.parallel=true
2121
org.gradle.daemon=true
2222
org.gradle.jvmargs=-Dfile.encoding=UTF-8 -Xmx1536M -XX:MaxMetaspaceSize=1024M
2323

24-
# Generated on Fri Nov 22 09:58:56 CET 2024 by: ./gradlew :grails-bom:syncProps
24+
# Set when we are temporarily releasing, should be false unless we want to prevent
25+
# snapshot or documentation publishes.
26+
preventSnapshotPublish=false
27+
28+
# Generated on Fri Dec 20 09:00:25 EST 2024 by: ./gradlew :grails-bom:syncProps
2529
# Only version value modifications allowed after this point. Do not insert or change version names.
2630
ant.version=1.10.15
2731
asciidoctorj.version=3.0.0
28-
asset-pipeline-gradle.version=5.0.4
29-
asset-pipeline-grails.version=5.0.4
32+
asset-pipeline-gradle.version=5.0.5
33+
asset-pipeline-grails.version=5.0.5
3034
byte-buddy.version=1.15.5
3135
commons-codec.version=1.17.1
3236
commons-text.version=1.12.0
@@ -54,14 +58,15 @@ mongodb.version=5.1.4
5458
objenesis.version=3.4
5559
plugins-cache.version=8.0.0-SNAPSHOT
5660
plugins-database-migration.version=6.0.0-SNAPSHOT
57-
plugins-fields.version=6.0.0-SNAPSHOT
61+
plugins-fields.version=6.0.0-M1
5862
plugins-geb.version=5.0.0-SNAPSHOT
5963
plugins-hibernate5.version=9.0.0-SNAPSHOT
6064
plugins-mongodb.version=9.0.0-SNAPSHOT
6165
plugins-neo4j.version=8.1.0
6266
plugins-rxjava.version=1.1.1
6367
plugins-rxjava2.version=2.0.0
6468
plugins-scaffolding.version=6.0.0-SNAPSHOT
69+
plugins-views-gradle.version=4.0.0-SNAPSHOT
6570
plugins-views-json.version=4.0.0-SNAPSHOT
6671
plugins-views-json-templates.version=4.0.0-SNAPSHOT
6772
plugins-views-markup.version=4.0.0-SNAPSHOT
@@ -77,10 +82,6 @@ profiles-web.version=7.0.1-SNAPSHOT
7782
profiles-web-plugin.version=7.0.1-SNAPSHOT
7883
spock.version=2.3-groovy-4.0
7984
spotbugs-annotations.version=4.8.6
80-
spring-boot.version=3.4.0
85+
spring-boot.version=3.4.1
8186
springloaded.version=1.2.8.RELEASE
82-
views-json-testing-support.version=4.0.0-SNAPSHOT
83-
84-
# Set when we are temporarily releasing, should be false unless we want to prevent
85-
# snapshot or documentation publishes.
86-
preventSnapshotPublish=true
87+
views-json-testing-support.version=4.0.0-SNAPSHOT

grails-bom/plugins.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cache=8.0.0-SNAPSHOT
22
database-migration=6.0.0-SNAPSHOT
3-
fields=6.0.0-SNAPSHOT
3+
fields=6.0.0-M1
44
geb=5.0.0-SNAPSHOT
55
hibernate5=9.0.0-SNAPSHOT
66
mongodb=9.0.0-SNAPSHOT

0 commit comments

Comments
 (0)