File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -364,6 +364,8 @@ lazy val noPublishSettings = Seq(
364364
365365val deletedPublishedSnapshots = taskKey[Unit ](" Delete published snapshots." )
366366
367+ import sbtrelease .Utilities ._
368+
367369lazy 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" ),
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ addSbtPlugin("com.eed3si9n" % "sbt-unidoc" % "0.4.1")
3030addSbtPlugin(" 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 " )
3434addSbtPlugin(" com.jsuereth" % " sbt-pgp" % " 1.1.1" )
3535addSbtPlugin(" org.xerial.sbt" % " sbt-sonatype" % " 2.0" )
3636
You can’t perform that action at this time.
0 commit comments