Skip to content

Commit

Permalink
Use sonatypeBundleRelease and bump to 2.0 because we changed the API
Browse files Browse the repository at this point in the history
  • Loading branch information
holdenk committed Sep 30, 2024
1 parent 251a8b8 commit edb1529
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ val commonSettings = Seq(
libraryDependencySchemes += "com.github.luben" %% "zstd-jni" % "early-semver", // "early-semver",
evictionErrorLevel := Level.Info,
sparkVersion := System.getProperty("sparkVersion", "2.4.8"),
sparkTestingVersion := "1.6.0",
sparkTestingVersion := "2.0.0",
version := sparkVersion.value + "_" + sparkTestingVersion.value,
scalaVersion := {
if (sparkVersion.value >= "4.0.0") {
Expand Down Expand Up @@ -261,6 +261,7 @@ lazy val kafkaPublishSettings =
lazy val publishSettings = Seq(
pomIncludeRepository := { _ => false },
publishTo := sonatypePublishToBundle.value,
sonatypeCredentialHost := sonatypeCentralHost,

licenses := Seq("Apache License 2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0.html")),

Expand Down
2 changes: 1 addition & 1 deletion mini-cross-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ for spark_version in 2.4.8 3.0.0 3.0.1 3.0.2 3.1.1 3.1.2 3.1.3 3.2.0 3.2.1 3.2.2
cp -af ./ "${build_dir}"
cd ${build_dir}
sleep 2
sbt -DsparkVersion=$spark_version version clean +publishLocal +publishSigned &
sbt -DsparkVersion=$spark_version version clean +publishLocal +sonatypeBundleRelease &
cd -
done
wait

0 comments on commit edb1529

Please sign in to comment.