[release] Also split the onlyPackages param (#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). * #32778 * __->__ #32777
lauren committed
Mar 28, 2025 at 14:35 UTC
1de32a5e75fe96ac3c1b728a117010e11673f6ed
2 files changed
+2
scripts/release/prepare-release-from-npm-commands/parse-params.js
+1
@@ -56,6 +56,7 @@ module.exports = () => {
56
const params = commandLineArgs(paramDefinitions);
57
58
splitCommaParams(params.skipPackages);
59
+ splitCommaParams(params.onlyPackages);
60
61
return params;
62
};
scripts/release/publish-commands/parse-params.js
+1
@@ -49,6 +49,7 @@ const paramDefinitions = [
49
module.exports = () => {
50
const params = commandLineArgs(paramDefinitions);
51
splitCommaParams(params.skipPackages);
52
+ splitCommaParams(params.onlyPackages);
53
splitCommaParams(params.tags);
54
params.tags.forEach(tag => {
55
switch (tag) {