Skip to content

Commit

Permalink
Update publish target for eclipse
Browse files Browse the repository at this point in the history
RIP LocationTech
  • Loading branch information
echeipesh committed Feb 26, 2020
1 parent 4518b56 commit 0e13ac4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions project/Settings.scala
Expand Up @@ -72,13 +72,13 @@ object Settings {

publishTo := {
val sonatype = "https://oss.sonatype.org/"
val locationtech = "https://repo.locationtech.org/content/repositories"
val eclipse = "https://repo.eclipse.org/content/repositories"

System.getProperty("release") match {
case "locationtech" if isSnapshot.value =>
Some("LocationTech Snapshot Repository" at s"${locationtech}/geotrellis-snapshots")
case "locationtech" =>
Some("LocationTech Release Repository" at s"${locationtech}/geotrellis-releases")
case "eclipse" if isSnapshot.value =>
Some("Eclipse Snapshot Repository" at s"${eclipse}/geotrellis-snapshots")
case "eclipse" =>
Some("LocationTech Release Repository" at s"${eclipse}/geotrellis-releases")
case _ =>
Some("Sonatype Release Repository" at s"${sonatype}service/local/staging/deploy/maven2")
}
Expand Down

0 comments on commit 0e13ac4

Please sign in to comment.