diff --git a/scripts/release/deploy_staging_jars.sh b/scripts/release/deploy_staging_jars.sh index b2c5bf398..4bd9158bc 100755 --- a/scripts/release/deploy_staging_jars.sh +++ b/scripts/release/deploy_staging_jars.sh @@ -45,7 +45,7 @@ else if [[ $param =~ --scala_version\=(2\.1[1-2]) ]]; then SCALA_VERSION=${BASH_REMATCH[1]} elif [[ $param =~ --spark_version\=([2-3]) ]]; then - SPARK_VERSION=${BASH_REMATCH[0]} + SPARK_VERSION=${BASH_REMATCH[1]} fi done fi