Repository navigation
Support packing packages into tarballs in rush publish action - #579
Conversation
…consistent with other parameters.
| parameterLongName: '--release-folder', | ||
| key: 'RELEASEFOLDER', | ||
| description: | ||
| `This parameter is used with --pack parameter to provide customized location for the tarballs instead of ` + |
There was a problem hiding this comment.
This parameter is used with --pack parameter [](start = 7, length = 45)
If the person specifies "--release-folder" without "--pack", report an error like this:
"The --release-folder option may only be used with the --pack flag." #Resolved
There was a problem hiding this comment.
By default people should just use --pack and everything goes to the default common\temp folder. --release-folder is only for customized cases.
In reply to: 176225647 [](ancestors = 176225647)
| parameterLongName: '--pack', | ||
| 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.` |
There was a problem hiding this comment.
parameters will be ignored. [](start = 85, length = 27)
Should we report an error for invalid parameter combinations?
Yesterday you mentioned that a number of these options are deprecated and will be removed soon. I wouldn't waste much time validating those. But for options that we expect to be part of the long-term design for "rush publish", we should include validation to avoid mistakes/confusion. It can be very frustrating to specify a flag and not understand why it isn't doing anything. (This was a main motivation for why we validate parameters at all heheh.) #Resolved
The parameter "--pack" means packing packages into tarballs instead of publishing to npm registry.