Skip to content

Commit

Permalink
Merge pull request #14 from scalacenter/default-publisher-sonatype
Browse files Browse the repository at this point in the history
Make Sonatype the default publisher
  • Loading branch information
jvican committed Oct 11, 2017
2 parents 2a02636 + ea5a047 commit fe62b62
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ object ReleaseEarly {
val releaseEarlyEnableInstantReleases: Def.Initialize[Boolean] = Def.setting(true)

val releaseEarlyWith: Def.Initialize[UnderlyingPublisher] =
Def.setting(BintrayPublisher)
Def.setting(SonatypePublisher)

val releaseEarlyInsideCI: Def.Initialize[Boolean] =
Def.setting(sys.env.get("CI").isDefined)
Expand Down
1 change: 1 addition & 0 deletions src/sbt-test/sbt-release-early/example-bintray/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ lazy val publishSettings = Seq(
bintrayRepository := "tools",
bintrayPackageLabels := Seq("scala", "scalacenter", "plugin", "sbt"),
publishTo := (publishTo in bintray).value,
releaseEarlyWith := BintrayPublisher,
publishArtifact in Test := false,
// Disable publishing of docs and sources
publishArtifact in (Compile, packageDoc) := false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ bintrayOrganization := None
bintrayRepository := "releases"
bintrayPackage := "root-example"
publishTo := (publishTo in bintray).value
releaseEarlyWith := BintrayPublisher

// Disable publishing of docs and sources
publishArtifact in (Compile, packageDoc) := false
Expand Down
1 change: 1 addition & 0 deletions src/sbt-test/sbt-release-early/simple-module/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ bintrayOrganization := None
bintrayRepository := "releases"
bintrayPackage := "root-example"
publishTo := (publishTo in bintray).value
releaseEarlyWith := BintrayPublisher

// Disable publishing of docs and sources
publishArtifact in (Compile, packageDoc) := false
Expand Down

0 comments on commit fe62b62

Please sign in to comment.