Skip to content

Commit c4955a8

Browse files
committed
[KYUUBI #2862] [BUILD] Release script supports Spark 3.3
### _Why are the changes needed?_ ### _How was this patch tested?_ - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [ ] Add screenshots for manual tests if appropriate - [ ] [Run test](https://kyuubi.apache.org/docs/latest/develop_tools/testing.html#running-tests) locally before make a pull request Closes #2862 from pan3793/release-3.3. Closes #2862 8c03a59 [Cheng Pan] [BUILD] Release script support Spark 3.3 Authored-by: Cheng Pan <chengpan@apache.org> Signed-off-by: Cheng Pan <chengpan@apache.org>
1 parent 67ad255 commit c4955a8

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

build/dist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -264,8 +264,8 @@ if [[ -f "$KYUUBI_HOME/tools/spark-block-cleaner/target/spark-block-cleaner_${SC
264264
cp "$KYUUBI_HOME/tools/spark-block-cleaner/target/spark-block-cleaner_${SCALA_VERSION}-${VERSION}.jar" "$DISTDIR/tools/spark-block-cleaner/jars/"
265265
fi
266266

267-
# Copy Kyuubi extension
268-
SPARK_EXTENSION_VERSIONS=('3-1' '3-2')
267+
# Copy Kyuubi Spark extension
268+
SPARK_EXTENSION_VERSIONS=('3-1' '3-2' '3-3')
269269
for SPARK_EXTENSION_VERSION in ${SPARK_EXTENSION_VERSIONS[@]}; do
270270
if [[ -f $"$KYUUBI_HOME/extensions/spark/kyuubi-extension-spark-$SPARK_EXTENSION_VERSION/target/kyuubi-extension-spark-${SPARK_EXTENSION_VERSION}_${SCALA_VERSION}-${VERSION}.jar" ]]; then
271271
mkdir -p "$DISTDIR/extension"

build/release/release.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,9 @@ upload_nexus_staging() {
102102
${KYUUBI_DIR}/build/mvn clean deploy -DskipTests -Papache-release,flink-provided,spark-provided,hive-provided,spark-3.2 \
103103
-s "${KYUUBI_DIR}/build/release/asf-settings.xml" \
104104
-pl extensions/spark/kyuubi-extension-spark-3-2 -am
105+
${KYUUBI_DIR}/build/mvn clean deploy -DskipTests -Papache-release,flink-provided,spark-provided,hive-provided,spark-3.3 \
106+
-s "${KYUUBI_DIR}/build/release/asf-settings.xml" \
107+
-pl extensions/spark/kyuubi-extension-spark-3-3 -am
105108
}
106109

107110
finalize_svn() {

0 commit comments

Comments
 (0)