Skip to content

Commit cb75f44

Browse files
rush snapshot update
1 parent adc1917 commit cb75f44

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

libraries/rush-lib/src/api/test/__snapshots__/RushCommandLine.test.ts.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -638,7 +638,7 @@ Object {
638638
"shortName": "-b",
639639
},
640640
Object {
641-
"description": "If this flag is specified, applied changes will be published to the NPM registry.",
641+
"description": "If this flag is specified, applied changes will be published to the NPM registry. If the --pack flag is passed, this flag must also be included, otherwise tarballs will not be produced.",
642642
"environmentVariable": undefined,
643643
"kind": "Flag",
644644
"longName": "--publish",
@@ -694,7 +694,7 @@ Object {
694694
"shortName": undefined,
695695
},
696696
Object {
697-
"description": "Packs projects into tarballs instead of publishing to npm repository. It can only be used when --include-all is specified. If this flag is specified, NPM registry related parameters will be ignored.",
697+
"description": "Packs projects into tarballs instead of publishing to npm repository. It can only be used when --include-all is specified. If this flag is specified, NPM registry related parameters will be ignored.--publish must be specified to produce as tarballs, otherwise a dry run will be performed.",
698698
"environmentVariable": undefined,
699699
"kind": "Flag",
700700
"longName": "--pack",

libraries/rush-lib/src/cli/test/__snapshots__/CommandLineHelp.test.ts.snap

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1033,7 +1033,9 @@ Optional arguments:
10331033
deleted change requests will be committed and merged
10341034
into the target branch.
10351035
-p, --publish If this flag is specified, applied changes will be
1036-
published to the NPM registry.
1036+
published to the NPM registry. If the --pack flag is
1037+
passed, this flag must also be included, otherwise
1038+
tarballs will not be produced.
10371039
--add-commit-details Adds commit author and hash to the changelog.json
10381040
files for each change.
10391041
--regenerate-changelogs
@@ -1071,6 +1073,8 @@ Optional arguments:
10711073
npm repository. It can only be used when
10721074
--include-all is specified. If this flag is specified,
10731075
NPM registry related parameters will be ignored.
1076+
--publish must be specified to produce as tarballs,
1077+
otherwise a dry run will be performed.
10741078
--release-folder FOLDER
10751079
This parameter is used with --pack parameter to
10761080
provide customized location for the tarballs instead

0 commit comments

Comments
 (0)