diff options
Diffstat (limited to 'scalalib')
-rw-r--r-- | scalalib/src/mill/scalalib/PublishModule.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scalalib/src/mill/scalalib/PublishModule.scala b/scalalib/src/mill/scalalib/PublishModule.scala index 58334e41..460defcb 100644 --- a/scalalib/src/mill/scalalib/PublishModule.scala +++ b/scalalib/src/mill/scalalib/PublishModule.scala @@ -51,7 +51,7 @@ trait PublishModule extends ScalaModule { outer => def sonatypeSnapshotUri: String = "https://oss.sonatype.org/content/repositories/snapshots" - def publish(credentials: String, gpgPassphrase: String): define.Command[Unit] = T.command { + def publish(sonatypeCreds: String, gpgPassphrase: String): define.Command[Unit] = T.command { val baseName = s"${artifactId()}-${publishVersion()}" val artifacts = Seq( jar().path -> s"${baseName}.jar", @@ -62,7 +62,7 @@ trait PublishModule extends ScalaModule { outer => new SonatypePublisher( sonatypeUri, sonatypeSnapshotUri, - credentials, + sonatypeCreds, gpgPassphrase, T.ctx().log ).publish(artifacts, artifact()) |