Expect java11 for releasing

Refs #26278
This commit is contained in:
Arnout Engelen 2019-03-12 15:50:54 +01:00
parent 2e247001f7
commit 9d63d353d5
No known key found for this signature in database
GPG key ID: BB8C0F854A1E2105

View file

@ -164,7 +164,7 @@ declare -r publish_path="${release_server}:${release_path}"
JAVA_VERSION=`java -version 2>&1 | grep -E "java version|openjdk version" | cut -d '"' -f2 | cut -d '.' -f1`
[[ $JAVA_VERSION -ge 9 ]] || fail "Java version is not at least 9"
[[ $JAVA_VERSION -ge 11 ]] || fail "Java version is not at least 11"
# check for a git command
type -P git &> /dev/null || fail "git command not found"