diff options
| author | Jack Koenig | 2020-11-12 13:10:20 -0800 |
|---|---|---|
| committer | GitHub | 2020-11-12 13:10:20 -0800 |
| commit | 06843bd912f79027b1670b03bc1d77203d589bf6 (patch) | |
| tree | 1e3533b5ca7b7361626ce23c32fb070aeaacbd5e /build.sbt | |
| parent | c7bbb75b8b293d639848abaa9f68121f80947f42 (diff) | |
Automatically publish SNAPSHOTs on pushes to master (#1955)
Uses sbt-ci-release for automation
Diffstat (limited to 'build.sbt')
| -rw-r--r-- | build.sbt | 11 |
1 files changed, 1 insertions, 10 deletions
@@ -90,7 +90,7 @@ lazy val antlrSettings = Seq( ) lazy val publishSettings = Seq( - publishMavenStyle := true, + // publishMavenStyle and publishTo handled by sbt-ci-release publishArtifact in Test := false, pomIncludeRepository := { x => false }, // Don't add 'scm' elements if we have a git.remoteRepo definition, @@ -114,15 +114,6 @@ lazy val publishSettings = Seq( <url>http://www.eecs.berkeley.edu/~jrb/</url> </developer> </developers>, - publishTo := { - val v = version.value - val nexus = "https://oss.sonatype.org/" - if (v.trim.endsWith("SNAPSHOT")) { - Some("snapshots" at nexus + "content/repositories/snapshots") - } else { - Some("releases" at nexus + "service/local/staging/deploy/maven2") - } - } ) |
