Skip to content

Commit

Permalink
Fix version-def script to correctly set list of shims (#6602)
Browse files Browse the repository at this point in the history
Signed-off-by: Peixin Li <[email protected]>

Signed-off-by: Peixin Li <[email protected]>
  • Loading branch information
pxLi authored Sep 23, 2022
1 parent 7c37e56 commit 3f377ef
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions jenkins/version-def.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,11 @@ SPARK_SHIM_VERSIONS_NOSNAPSHOTS=("${SPARK_SHIM_VERSIONS_ARR[@]}")
# Spark shim versions list based on given profile option (snapshots or noSnapshots)
case $PHASE_TYPE in
pre-release)
SPARK_SHIM_VERSIONS=("${SPARK_SHIM_VERSIONS_SNAPSHOTS[@]}")
SPARK_SHIM_VERSIONS=("${SPARK_SHIM_VERSIONS_NOSNAPSHOTS[@]}")
;;

*)
SPARK_SHIM_VERSIONS=("${SPARK_SHIM_VERSIONS_NOSNAPSHOTS[@]}")
SPARK_SHIM_VERSIONS=("${SPARK_SHIM_VERSIONS_SNAPSHOTS[@]}")
;;
esac
# base version
Expand All @@ -100,4 +100,4 @@ SPARK_SHIM_VERSIONS_PREMERGE_UT_2=("${SPARK_SHIM_VERSIONS_ARR[@]}")
set_env_var_SPARK_SHIM_VERSIONS_ARR -PpremergeUTF8
SPARK_SHIM_VERSIONS_PREMERGE_UTF8=("${SPARK_SHIM_VERSIONS_ARR[@]}")

echo "SPARK_BASE_SHIM_VERSION: $SPARK_BASE_SHIM_VERSION"
echo "SPARK_BASE_SHIM_VERSION: $SPARK_BASE_SHIM_VERSION"

0 comments on commit 3f377ef

Please sign in to comment.