From 66cc86ee3e21240d69694809a2f1fe37bf8af5fb Mon Sep 17 00:00:00 2001 From: Patrik Nordwall Date: Tue, 19 May 2015 15:05:08 +0200 Subject: [PATCH] =pro check jdk8 in release script --- project/scripts/release | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/scripts/release b/project/scripts/release index 6b416982ba..96aed40f31 100755 --- a/project/scripts/release +++ b/project/scripts/release @@ -170,7 +170,7 @@ fi declare -r version=$1 declare -r publish_path="${release_server}:${release_path}" -[[ `java -version 2>&1 | grep "java version" | cut -d ' ' -f3 | cut -d '.' -f2` -eq 6 ]] || fail "Java version is not 1.6" +[[ `java -version 2>&1 | grep "java version" | cut -d ' ' -f3 | cut -d '.' -f2` -eq 8 ]] || fail "Java version is not 1.8" # check for a git command type -P git &> /dev/null || fail "git command not found"