Skip to content

Commit

Permalink
Build: Update release scripts publish Spark 3.2 with Scala 2.13 (apac…
Browse files Browse the repository at this point in the history
  • Loading branch information
kbendick authored May 18, 2022
1 parent 3586e14 commit a918489
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion dev/stage-binaries.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit a918489

Please sign in to comment.