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