Skip to content

Commit

Permalink
Merge pull request #242 from ua-parser/correct-release-configs
Browse files Browse the repository at this point in the history
Correct sbt-release configuration
  • Loading branch information
thyandrecardoso authored Apr 28, 2024
2 parents 46b02fe + 1c00034 commit 4f90bfc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
8 changes: 1 addition & 7 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,7 @@ Test / unmanagedResources / includeFilter := "*.yaml"

// Publishing
publishMavenStyle := true
publishTo := {
val nexus = "https://oss.sonatype.org/"
if (isSnapshot.value)
Some("snapshots" at nexus + "content/repositories/snapshots")
else
Some("releases" at nexus + "service/local/staging/deploy/maven2")
}
publishTo := sonatypePublishToBundle.value
Test / publishArtifact := false

releaseCrossBuild := true
Expand Down
3 changes: 2 additions & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
addSbtPlugin("com.github.sbt" % "sbt-release" % "1.4.0")
addSbtPlugin("com.github.sbt" % "sbt-pgp" % "2.2.1")
addSbtPlugin("com.github.sbt" % "sbt-release" % "1.4.0")
addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "1.1.3")
addSbtPlugin("org.scalastyle" %% "scalastyle-sbt-plugin" % "1.0.0")
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "3.10.0")

0 comments on commit 4f90bfc

Please sign in to comment.