Skip to content

Commit d453dff

Browse files
committed
Merge branch '8.0.x' into 8.1.x
2 parents 9c62e82 + bfd0823 commit d453dff

4 files changed

Lines changed: 13 additions & 10 deletions

File tree

‎.github/workflows/release-publish-docs.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ permissions: { }
2525
env:
2626
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2727
JAVA_DISTRIBUTION: liberica
28-
JAVA_VERSION: 21.0.12
28+
JAVA_VERSION: 21.0.12 # keep it synced with .sdkmanrc
2929
VERSION: ${{ inputs.version }}
3030
jobs:
3131
docs:

‎.sdkmanrc‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
# Keep java version synced with .github/workflows/release.yml ($JAVA_VERSION) and etc/bin/Dockerfile (primary JDK).
1+
# When the java version changes, also update:
2+
# - $JAVA_VERSION in .github/workflows/release.yml and .github/workflows/release-publish-docs.yml
3+
# - LIBERICA_VERSION in etc/bin/Dockerfile: the version plus the build actions/setup-java installs for it,
4+
# as the bell-sw/Liberica GitHub release names it (<version>+<build>)
5+
# - LIBERICA_SHA256_AMD64 and LIBERICA_SHA256_AARCH64 in etc/bin/Dockerfile: the sha256 of that release's
6+
# bellsoft-jdk<version>+<build>-linux-amd64.tar.gz and -linux-aarch64.tar.gz
27
# This is the default JDK for all of grails-core EXCEPT the Grails-Micronaut "island"
38
# (grails-micronaut, grails-micronaut-bom), which is built against Micronaut 5 / JVM 25
49
# bytecode. The release workflow installs a secondary Liberica JDK pinned via

‎RELEASE.md‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -485,10 +485,9 @@ The Grails image is officially built on linux in a GitHub action using an Ubuntu
485485
locally, you can use the following command (substitute `<git-tag-of-release>` with the tag name):
486486

487487
The verification container installs the Liberica JDK build pinned by `LIBERICA_VERSION` in `etc/bin/Dockerfile`, which is
488-
the archive `actions/setup-java` installs for the release. Keep that version synchronized with `$JAVA_VERSION` in
489-
`.github/workflows/release.yml`, and update its checksums with it. Liberica's JDK images are not used, because an image tag
490-
can be a later build of the same version (the `21.0.12` image is `21.0.12.1`) and the images leave out the JDK sources
491-
(`lib/src.zip`).
488+
the archive `actions/setup-java` installs for the release. It changes with the java version in `.sdkmanrc`, whose comment
489+
lists every file to update with it. Liberica's JDK images are not used, because an image tag can be a later build of the
490+
same version and the images leave out the JDK sources (`lib/src.zip`).
492491
493492
**macOS/Linux**
494493
```bash

‎etc/bin/Dockerfile‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,9 @@ RUN apt-get update && apt-get install -y ca-certificates curl unzip coreutils li
2323

2424
# The JDK is the archive actions/setup-java installs for the release (see "Setup JDK" in
2525
# .github/workflows/release.yml), so the release is verified with the JDK build it was built with.
26-
# The Liberica JDK images are not: the 21.0.12 image is the later 21.0.12.1 build, and the images
27-
# leave out the JDK sources (lib/src.zip).
28-
# Keep the version synced with .sdkmanrc and .github/workflows/release.yml ($JAVA_VERSION), and
29-
# update both checksums with it.
26+
# Liberica's JDK images are not used: an image tag can be a later build of the same version, and the
27+
# images leave out the JDK sources (lib/src.zip).
28+
# The version and both checksums change with the java version in .sdkmanrc; its comment says how.
3029
ARG LIBERICA_VERSION=21.0.12+10
3130
ARG LIBERICA_SHA256_AMD64=23b48e59f47099597f84378c0a765c83588dcad7f6987eb2fef0d08e7ee19f96
3231
ARG LIBERICA_SHA256_AARCH64=4d3c0090153dc74cadf40eee57ce6f8efdbe10b28e1420103c6cbe86982f039d

0 commit comments

Comments
 (0)