Skip to content

Commit

Permalink
Change --no-dryrun to the new flag in docs
Browse files Browse the repository at this point in the history
Testing Done:
Travis passed, it is a doc-only change.

Bugs closed: 3922

Reviewed at https://rbcommons.com/s/twitter/r/4280/
  • Loading branch information
mosesn authored and mateor committed Oct 4, 2016
1 parent 9bb5959 commit b128301
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/docs/release_jvm.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,10 @@ this, you can test out the publish in 2 ways:
and why as well as the changelogs:

:::bash
$ ./pants clean-all publish.jar --no-dryrun --local=/tmp/m2 src/{java,scala}::
$ ./pants clean-all publish.jar --no-publish-jar-dryrun --local=/tmp/m2 src/{java,scala}::

Note that this "dry-run" technique somewhat confusingly passes
`--no-dryrun` but only because the publish is local and to a
`--no-publish-jar-dryrun` but only because the publish is local and to a
temporary dir (the argument to `--local`). You can also poke
around in the `/tmp/m2` local maven repo if you're curious or want
to double-check fine details of exactly what will be pushed.
Expand All @@ -151,7 +151,7 @@ to use the following command, which will publish everything that's
changed and only those things that have changed since the last publish:

:::bash
$ ./pants publish.jar --no-dryrun src/{java,scala}::
$ ./pants publish.jar --no-publish-jar-dryrun src/{java,scala}::

## Promoting to Maven Central ##

Expand Down

0 comments on commit b128301

Please sign in to comment.