Skip to content

Commit

Permalink
Update docs for PublishModule to not use positional arguments (#4387)
Browse files Browse the repository at this point in the history
  • Loading branch information
lolgab authored Jan 21, 2025
1 parent 96671bd commit 0bcbe00
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/modules/ROOT/partials/Publishing_Footer.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down Expand Up @@ -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
----
Expand Down

0 comments on commit 0bcbe00

Please sign in to comment.