mirror of https://github.com/sbt/sbt.git
Revert "Update Sonatype credentials config"
This reverts commit ca0fec50ca.
This commit is contained in:
parent
8a6dd8a6ba
commit
a251e71190
|
|
@ -31,7 +31,7 @@ lazy val releaseSettings = sbtrelease.ReleasePlugin.releaseSettings ++ Seq(
|
||||||
credentials += {
|
credentials += {
|
||||||
Seq("SONATYPE_USER", "SONATYPE_PASS").map(sys.env.get) match {
|
Seq("SONATYPE_USER", "SONATYPE_PASS").map(sys.env.get) match {
|
||||||
case Seq(Some(user), Some(pass)) =>
|
case Seq(Some(user), Some(pass)) =>
|
||||||
Credentials("Nexus Repository Manager", "oss.sonatype.org", user, pass)
|
Credentials("Sonatype Nexus Repository Manager", "oss.sonatype.org", user, pass)
|
||||||
case _ =>
|
case _ =>
|
||||||
Credentials(Path.userHome / ".ivy2" / ".credentials")
|
Credentials(Path.userHome / ".ivy2" / ".credentials")
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue