Skip to content

Commit

Permalink
0.0.0 updated sonatype release config for publish
Browse files Browse the repository at this point in the history
  • Loading branch information
malcolmgreaves committed Aug 1, 2016
1 parent fd22918 commit 5980ca7
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion project/SharedBuild.scala
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,13 @@ object SharedBuild {
publishMavenStyle := true,
isSnapshot := false,
publishArtifact in Test := false,
publishTo := Some("Sonatype Releases" at "https://oss.sonatype.org/content/repositories/releases/"),
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")
},
pomIncludeRepository := { _ => false },
pomExtra := {
<url>https://github.com/{ ri.group }/{ ri.name }</url>
Expand Down

0 comments on commit 5980ca7

Please sign in to comment.