Skip to content

Commit b8d2370

Browse files
fix: ci release publish after upgrading ci-release-plugin to v1.11.0 (waylayio#235)
1 parent 851ea7c commit b8d2370

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,4 @@ jobs:
2323
PGP_SECRET: ${{ secrets.PGP_SECRET }}
2424
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
2525
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
26+
CI_SONATYPE_RELEASE: sonatypeBundleRelease

build.sbt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import sbt.Keys.{crossScalaVersions, scalacOptions}
2+
import xerial.sbt.Sonatype._
23

34
val playJsonVersion = "3.0.4"
45
val playVersion = "2.7.3" // test only
@@ -16,6 +17,7 @@ crossScalaVersions := Seq(scala2_12, scala2_13)
1617

1718
releaseCrossBuild := true
1819

20+
ThisBuild / publishTo := sonatypePublishToBundle.value
1921
ThisBuild / scalacOptions ++= Seq("-unchecked", "-deprecation")
2022

2123
// we need both Test and IntegrationTest scopes for a correct pom, see https://github.com/sbt/sbt/issues/1380

project/plugins.sbt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
resolvers += "jgit-repo" at "https://download.eclipse.org/jgit/maven"
22

33
addSbtPlugin("com.github.sbt" % "sbt-site" % "1.6.0")
4-
54
addSbtPlugin("com.github.sbt" % "sbt-release" % "1.4.0")
6-
75
addSbtPlugin("com.github.sbt" % "sbt-ghpages" % "0.7.0")
8-
96
addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.11.0")
107
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.4")
8+
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "3.12.2")

0 commit comments

Comments
 (0)