You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2022/02/20 17:00:40 UTC
[GitHub] [iceberg] rdblue commented on a change in pull request #4167: Update release scripts to support Scala 2.13
rdblue commented on a change in pull request #4167:
URL: https://github.com/apache/iceberg/pull/4167#discussion_r810655109
##########
File path: dev/stage-binaries.sh
##########
@@ -17,10 +17,16 @@
# specific language governing permissions and limitations
# under the License.
#
-
+SCALA_VERSION=2.12
FLINK_VERSIONS=1.12,1.13,1.14
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 Hive doesn't need a Scala specification.
+SCALA_VERSION=2.13
+SPARK_VERSIONS_2.13=3.2
+./gradlew -P release -DscalaVersion=$SCALA_VERSION -DsparkVersions=$SPARK_VERSIONS_2.13 -DhiveVersions= -DflinkVersions= publishApachePublicationToMavenRepository
Review comment:
Nit: extra space after `release`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org