Skip to content

Commit

Permalink
Configure sonatype
Browse files Browse the repository at this point in the history
  • Loading branch information
d10xa committed Nov 19, 2024
1 parent 224c769 commit ca57f41
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions sonatype.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,20 @@ developers := List(
)
)
ThisBuild / publishTo := sonatypePublishToBundle.value
import ReleaseTransformations._
releaseCrossBuild := true // true if you cross-build the project for multiple Scala versions
releaseProcess := Seq[ReleaseStep](
checkSnapshotDependencies,
inquireVersions,
runClean,
runTest,
setReleaseVersion,
commitReleaseVersion,
tagRelease,
// For non cross-build projects, use releaseStepCommand("publishSigned")
releaseStepCommandAndRemaining("+publishSigned"),
releaseStepCommand("sonatypeBundleRelease"),
setNextVersion,
commitNextVersion,
pushChanges
)

0 comments on commit ca57f41

Please sign in to comment.