You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iceberg.apache.org by bl...@apache.org on 2022/05/18 21:50:38 UTC

[iceberg] branch master updated: Build: Update release scripts publish Spark 3.2 with Scala 2.13 (#4167)

This is an automated email from the ASF dual-hosted git repository.

blue pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iceberg.git


The following commit(s) were added to refs/heads/master by this push:
     new a91848969 Build: Update release scripts publish Spark 3.2 with Scala 2.13 (#4167)
a91848969 is described below

commit a918489694f939e6390b28990b6cdf6028e0fdfb
Author: Kyle Bendickson <kj...@gmail.com>
AuthorDate: Wed May 18 14:50:33 2022 -0700

    Build: Update release scripts publish Spark 3.2 with Scala 2.13 (#4167)
---
 dev/stage-binaries.sh | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/dev/stage-binaries.sh b/dev/stage-binaries.sh
index d8bba2744..ec5e1ac60 100755
--- a/dev/stage-binaries.sh
+++ b/dev/stage-binaries.sh
@@ -18,9 +18,14 @@
 # under the License.
 #
 
+SCALA_VERSION=2.12
 FLINK_VERSIONS=1.13,1.14,1.15
 SPARK_VERSIONS=2.4,3.0,3.1,3.2
 HIVE_VERSIONS=2,3
 
-./gradlew -Prelease -DflinkVersions=$FLINK_VERSIONS -DsparkVersions=$SPARK_VERSIONS -DhiveVersions=$HIVE_VERSIONS publishApachePublicationToMavenRepository
+./gradlew -Prelease -DscalaVersion=$SCALA_VERSION -DflinkVersions=$FLINK_VERSIONS -DsparkVersions=$SPARK_VERSIONS -DhiveVersions=$HIVE_VERSIONS publishApachePublicationToMavenRepository
+
+# Also publish Scala 2.13 Artifacts for versions that support it.
+# Flink does not yet support 2.13 (and is largely dropping a user-facing dependency on Scala). Hive doesn't need a Scala specification.
+./gradlew -Prelease -DscalaVersion=2.13 :iceberg-spark:iceberg-spark-3.2_2.13:publishApachePublicationToMavenRepository :iceberg-spark:iceberg-spark-extensions-3.2_2.13:publishApachePublicationToMavenRepository :iceberg-spark:iceberg-spark-runtime-3.2_2.13:publishApachePublicationToMavenRepository