From 0bcbe006fadc4631b86cde8c775d3c6e82ab19dc Mon Sep 17 00:00:00 2001 From: Lorenzo Gabriele Date: Tue, 21 Jan 2025 12:16:32 +0100 Subject: [PATCH] Update docs for PublishModule to not use positional arguments (#4387) --- docs/modules/ROOT/partials/Publishing_Footer.adoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/modules/ROOT/partials/Publishing_Footer.adoc b/docs/modules/ROOT/partials/Publishing_Footer.adoc index 50f02c296a8..65d9fff5a42 100644 --- a/docs/modules/ROOT/partials/Publishing_Footer.adoc +++ b/docs/modules/ROOT/partials/Publishing_Footer.adoc @@ -57,7 +57,7 @@ You can also specify individual modules you want to publish via a selector: [source,bash] ---- -mill mill.scalalib.PublishModule/ foo.publishArtifacts +mill mill.scalalib.PublishModule/ --publishArtifacts foo.publishArtifacts ---- The default URL for publishing to sonatype's Maven Central is `oss.sonatype.org`. @@ -134,8 +134,8 @@ maven path under `sonatypeUri` instead of staging path. [source,bash] ---- mill mill.scalalib.PublishModule/ \ - foo.publishArtifacts \ - lihaoyi:$SONATYPE_PASSWORD \ + --publishArtifacts foo.publishArtifacts \ + --sonatypeCreds lihaoyi:$SONATYPE_PASSWORD \ --sonatypeUri http://example.company.com/release \ --stagingRelease false ----