File tree Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -27,13 +27,11 @@ releasePublishArtifactsAction := PgpKeys.publishSigned.value
27
27
28
28
releaseCrossBuild := false
29
29
30
- publishTo <<= version {
31
- (v : String ) =>
32
- val nexus = " https://oss.sonatype.org/"
33
- if (v.trim.endsWith(" SNAPSHOT" ))
34
- Some (" snapshots" at nexus + " content/repositories/snapshots" )
35
- else
36
- Some (" releases" at nexus + " service/local/staging/deploy/maven2" )
30
+ publishTo := {
31
+ if (isSnapshot.value)
32
+ Some (" snapshots" at " https://oss.sonatype.org/content/repositories/snapshots" )
33
+ else
34
+ Some (" releases" at " https://oss.sonatype.org/service/local/staging/deploy/maven2" )
37
35
}
38
36
39
37
pomExtra := {
Original file line number Diff line number Diff line change 1
- sbt.version =0.13.12
1
+ sbt.version =0.13.13
You can’t perform that action at this time.
0 commit comments