Skip to content

Commit 1de32a5

Browse files
authored
[release] Also split the onlyPackages param (facebook#32777)
I missed this the last time. --- [//]: # (BEGIN SAPLING FOOTER) Stack created with [Sapling](https://sapling-scm.com). Best reviewed with [ReviewStack](https://reviewstack.dev/facebook/react/pull/32777). * facebook#32778 * __->__ facebook#32777
1 parent ef4bc8b commit 1de32a5

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

scripts/release/prepare-release-from-npm-commands/parse-params.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ module.exports = () => {
5656
const params = commandLineArgs(paramDefinitions);
5757

5858
splitCommaParams(params.skipPackages);
59+
splitCommaParams(params.onlyPackages);
5960

6061
return params;
6162
};

scripts/release/publish-commands/parse-params.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ const paramDefinitions = [
4949
module.exports = () => {
5050
const params = commandLineArgs(paramDefinitions);
5151
splitCommaParams(params.skipPackages);
52+
splitCommaParams(params.onlyPackages);
5253
splitCommaParams(params.tags);
5354
params.tags.forEach(tag => {
5455
switch (tag) {

0 commit comments

Comments
 (0)