Skip to content

Commit 427cc96

Browse files
committed
[BUILD] Minor edits to the release process.
1 parent 05e6377 commit 427cc96

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

build.sbt

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,8 @@ lazy val noPublishSettings = Seq(
364364

365365
val deletedPublishedSnapshots = taskKey[Unit]("Delete published snapshots.")
366366

367+
import sbtrelease.Utilities._
368+
367369
lazy val publishSettings = Seq(
368370
publishArtifact := true,
369371
homepage := Some(url("https://github.com/eaplatanios/tensorflow_scala")),
@@ -410,12 +412,16 @@ lazy val publishSettings = Seq(
410412
releaseProcess := Seq[ReleaseStep](
411413
checkSnapshotDependencies,
412414
inquireVersions,
413-
runClean,
415+
// runClean,
414416
runTest,
415417
setReleaseVersion,
416418
commitReleaseVersion,
417419
tagRelease,
418-
publishArtifacts,
420+
ReleaseStep({ st: State =>
421+
val extracted = st.extract
422+
val ref = extracted.get(thisProjectRef)
423+
extracted.runAggregated(releasePublishArtifactsAction in JniCross in Global in ref, st)
424+
}),
419425
setNextVersion,
420426
commitNextVersion,
421427
releaseStepCommand("sonatypeReleaseAll"),

project/plugins.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ addSbtPlugin("com.eed3si9n" % "sbt-unidoc" % "0.4.1")
3030
addSbtPlugin("com.47deg" % "sbt-microsites" % "0.7.15")
3131

3232
// Packaging and publishing related plugins
33-
addSbtPlugin("com.github.gseitz" % "sbt-release" % "1.0.7")
33+
addSbtPlugin("com.github.gseitz" % "sbt-release" % "1.0.8")
3434
addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.1.1")
3535
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "2.0")
3636

0 commit comments

Comments
 (0)