Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Sonatype the default publisher #14

Merged
merged 1 commit into from
Oct 11, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ object ReleaseEarly {
Def.setting(false)

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,
licenses := Seq(
// Scala Center license... BSD 3-clause
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

// Release early
releaseEarlyEnableLocalReleases := true
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

// Release early
releaseEarlyEnableLocalReleases := true