diff options
author | Christopher Vogt <oss.nsp@cvogt.org> | 2016-05-26 09:48:53 -0400 |
---|---|---|
committer | Christopher Vogt <oss.nsp@cvogt.org> | 2016-05-26 09:48:53 -0400 |
commit | cf7a66b7dfde8bb4386efe93a41f68996335db35 (patch) | |
tree | 9e2df620c19be4b124f5afb8028b00915f5616d8 /stage2/PublishBuild.scala | |
parent | 908c6ec66e3878a040f21215417673480383b078 (diff) | |
download | cbt-cf7a66b7dfde8bb4386efe93a41f68996335db35.tar.gz cbt-cf7a66b7dfde8bb4386efe93a41f68996335db35.tar.bz2 cbt-cf7a66b7dfde8bb4386efe93a41f68996335db35.zip |
read sonatype credentials from cbt installation, not from other checked out version
Diffstat (limited to 'stage2/PublishBuild.scala')
-rw-r--r-- | stage2/PublishBuild.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stage2/PublishBuild.scala b/stage2/PublishBuild.scala index ea6fa0d..34c1d4f 100644 --- a/stage2/PublishBuild.scala +++ b/stage2/PublishBuild.scala @@ -43,7 +43,7 @@ abstract class PublishBuild(context: Context) extends PackageBuild(context){ protected def sonatypeCredentials = { // FIXME: this should probably not use cbtHome, but some reference to the system's host cbt - new String(readAllBytes((context.cbtHome ++ "/sonatype.login").toPath)).trim + new String(readAllBytes((context.cbtRootHome ++ "/sonatype.login").toPath)).trim } def publishSnapshot: Unit = { |