File tree Expand file tree Collapse file tree 3 files changed +6
-10
lines changed Expand file tree Collapse file tree 3 files changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ steps:
135
135
- test_java11
136
136
commands :
137
137
- ./project/scripts/sbt dist-bootstrapped/packArchive
138
- - ./project/scripts/sbtPublish ";dotty-bootstrapped/publishSigned ;sonatypeRelease "
138
+ - ./project/scripts/sbtPublish ";dotty-bootstrapped/publishSigned ;sonatypeBundleRelease "
139
139
environment :
140
140
PGP_PW :
141
141
from_secret : pgp_pw
@@ -177,7 +177,7 @@ steps:
177
177
- test_sbt
178
178
- test_java11
179
179
commands :
180
- - ./project/scripts/sbtPublish ";sbt-dotty/publishSigned ;sonatypeRelease "
180
+ - ./project/scripts/sbtPublish ";sbt-dotty/publishSigned ;sonatypeBundleRelease "
181
181
environment :
182
182
PGP_PW :
183
183
from_secret : pgp_pw
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ import sbt.plugins.SbtPlugin
13
13
import sbt .ScriptedPlugin .autoImport ._
14
14
import xerial .sbt .pack .PackPlugin
15
15
import xerial .sbt .pack .PackPlugin .autoImport ._
16
+ import xerial .sbt .Sonatype .autoImport ._
16
17
17
18
import dotty .tools .sbtplugin .DottyPlugin .autoImport ._
18
19
import dotty .tools .sbtplugin .DottyPlugin .makeScalaInstance
@@ -1150,12 +1151,7 @@ object Build {
1150
1151
lazy val publishSettings = Seq (
1151
1152
publishMavenStyle := true ,
1152
1153
isSnapshot := version.value.contains(" SNAPSHOT" ),
1153
- publishTo := Some (
1154
- if (isSnapshot.value)
1155
- Opts .resolver.sonatypeSnapshots
1156
- else
1157
- Opts .resolver.sonatypeStaging
1158
- ),
1154
+ publishTo := sonatypePublishToBundle.value,
1159
1155
publishArtifact in Test := false ,
1160
1156
homepage := Some (url(dottyGithubUrl)),
1161
1157
licenses += (" BSD New" ,
Original file line number Diff line number Diff line change 4
4
5
5
addSbtPlugin(" org.scala-js" % " sbt-scalajs" % " 1.0.0-M8" )
6
6
7
- addSbtPlugin(" org.xerial.sbt" % " sbt-sonatype" % " 2.1 " )
7
+ addSbtPlugin(" org.xerial.sbt" % " sbt-sonatype" % " 3.6 " )
8
8
9
- addSbtPlugin(" com.jsuereth" % " sbt-pgp" % " 1.1.0 " )
9
+ addSbtPlugin(" com.jsuereth" % " sbt-pgp" % " 2.0.0-M2 " )
10
10
11
11
addSbtPlugin(" org.xerial.sbt" % " sbt-pack" % " 0.10.1" )
12
12
You can’t perform that action at this time.
0 commit comments