JingGe opened a new pull request, #23544: URL: https://github.com/apache/flink/pull/23544
## What is the purpose of the change During the release, [Flink requires specific version of Java and Maven](https://lists.apache.org/thread/fbdl2w6wjmwk55y94ml91bpnhmh4rnm0). It makes sense to check those versions at the very beginning of some bash scripts to let it fail fast and therefore improve the efficiency. ## Brief change log - add check_java_maven_versions.sh to check Java and Maven version. - call check_java_maven_versions.sh first in create_binary_release.sh, create_source_release.sh, deploy_staging_jars.sh ## Verifying this change Users can set different Java or Maven versions in the terminal and call one of the added or modified script to test if the process will be aborted. the process will be moving forward only when the required Java and Maven versions are used. ## Does this pull request potentially affect one of the following parts: - Dependencies (does it add or upgrade a dependency): (yes / **no**) - The public API, i.e., is any changed class annotated with `@Public(Evolving)`: (yes / **no**) - The serializers: (yes / **no** / don't know) - The runtime per-record code paths (performance sensitive): (yes / **no** / don't know) - Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (yes / **no** / don't know) - The S3 file system connector: (yes / **no** / don't know) ## Documentation - Does this pull request introduce a new feature? (yes / **no**) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
