diff --git a/patches/readme-javase.patch b/patches/readme-javase.patch new file mode 100644 index 0000000..ddbb833 --- /dev/null +++ b/patches/readme-javase.patch @@ -0,0 +1,34 @@ +From d274f1fb6e2a32e873003ebf79753909a513f83d Mon Sep 17 00:00:00 2001 +From: Stewart X Addison +Date: Mon, 8 Apr 2024 15:45:06 +0000 +Subject: [PATCH] Adoptium JAVASE marker + +--- + README.JAVASE | 18 ++++++++++++++++++ + 1 file changed, 18 insertions(+) + create mode 100644 README.JAVASE + +diff --git a/README.JAVASE b/README.JAVASE +new file mode 100644 +index 00000000000..79a5d204434 +--- /dev/null ++++ b/README.JAVASE +@@ -0,0 +1,18 @@ ++Do NOT remove or modify this file. ++ ++The following notice is required to be included in the root directory of source ++code repositories. ++ ++This version of Eclipse Temurin source code is made available in support of the ++open source development process. Some numbered or tagged revisions of this ++source may have been tested and found to pass the Java SE TCK, and you can find ++information on which revisions or tags at https://www.adoptium.net. ++Please note that since only binaries can be tested, source code cannot be ++described as a compatible implementation of the Java SE Specification. The ++different build environment on your machine and any changes you may make to this ++code could render your resulting build incompatible. Because of this, writing or ++deploying applications to builds based on this code can lead to lack of ++portability. You should instead consider deploying production applications on ++the pre-built binaries of Eclipse Temurin that are available at ++https://www.adoptium.net that have been tested and certified to meet the Java SE ++compatibility requirements. diff --git a/skaraMirror.sh b/skaraMirror.sh index 1a715d5..653d1d2 100755 --- a/skaraMirror.sh +++ b/skaraMirror.sh @@ -108,6 +108,12 @@ function performMergeIntoReleaseFromMaster() { fi fi + # README.JAVASE patch needed for all repos + if [ ! -f "$WORKSPACE/$GITHUB_REPO/README.JAVASE" ]; then + echo "Applying README.JAVASE.patch" + git am $PATCHES/readme-javase.patch + fi + # Find the latest release tag that is not in releaseTagExcludeList releaseTags=$(git tag --merged release $TAG_SEARCH || exit 1) sortedReleaseTags=$(echo "$releaseTags" | eval "$jdk_sort_tags_cmd" || exit 1)