File tree Expand file tree Collapse file tree 4 files changed +8
-7
lines changed Expand file tree Collapse file tree 4 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -605,7 +605,7 @@ jobs:
605605 - name : Publish Nightly
606606 if : " steps.not_yet_published.outcome == 'success'"
607607 run : |
608- ./project/scripts/sbtPublish ";project scala3-bootstrapped ;publishSigned ;sonatypeBundleRelease "
608+ ./project/scripts/sbtPublish ";project scala3-bootstrapped ;publishSigned ;sonaRelease "
609609
610610 nightly_documentation :
611611 runs-on : [self-hosted, Linux]
@@ -746,7 +746,7 @@ jobs:
746746 ./dist/target/sha256sum.txt
747747
748748 - name : Publish Release
749- run : ./project/scripts/sbtPublish ";project scala3-bootstrapped ;publishSigned ;sonatypeBundleUpload "
749+ run : ./project/scripts/sbtPublish ";project scala3-bootstrapped ;publishSigned ;sonaUpload "
750750
751751
752752 open_issue_on_failure :
Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ import sbt.plugins.SbtPlugin
1616import sbt .ScriptedPlugin .autoImport ._
1717import xerial .sbt .pack .PackPlugin
1818import xerial .sbt .pack .PackPlugin .autoImport ._
19- import xerial .sbt .Sonatype .autoImport ._
2019import com .typesafe .tools .mima .plugin .MimaPlugin .autoImport ._
2120import org .scalajs .sbtplugin .ScalaJSPlugin
2221import org .scalajs .sbtplugin .ScalaJSPlugin .autoImport ._
@@ -1915,7 +1914,11 @@ object Build {
19151914 lazy val publishSettings = Seq (
19161915 publishMavenStyle := true ,
19171916 isSnapshot := version.value.contains(" SNAPSHOT" ),
1918- publishTo := sonatypePublishToBundle.value,
1917+ publishTo := {
1918+ val centralSnapshots = " https://central.sonatype.com/repository/maven-snapshots/"
1919+ if (isSnapshot.value) Some (" central-snapshots" at centralSnapshots)
1920+ else localStaging.value
1921+ },
19191922 publishConfiguration ~= (_.withOverwrite(true )),
19201923 publishLocalConfiguration ~= (_.withOverwrite(true )),
19211924 projectID ~= {id =>
Original file line number Diff line number Diff line change 1- sbt.version =1.10.7
1+ sbt.version =1.11.0
Original file line number Diff line number Diff line change @@ -8,8 +8,6 @@ libraryDependencySchemes +=
88
99addSbtPlugin(" org.scala-js" % " sbt-scalajs" % " 1.12.0" )
1010
11- addSbtPlugin(" org.xerial.sbt" % " sbt-sonatype" % " 3.9.21" )
12-
1311addSbtPlugin(" com.github.sbt" % " sbt-pgp" % " 2.2.1" )
1412
1513addSbtPlugin(" org.xerial.sbt" % " sbt-pack" % " 0.17" )
You can’t perform that action at this time.
0 commit comments