diff --git a/scripts/publish-action.mjs b/scripts/publish-action.mjs index 9088a6f49..216471b6d 100755 --- a/scripts/publish-action.mjs +++ b/scripts/publish-action.mjs @@ -34,9 +34,9 @@ const publishAction = async ({ repo, tag, version }) => { * release action [--dry-run] */ (async () => { - // const [bump, tag, ...rest] = process.argv.slice(2); + const [data] = process.argv.slice(2); - console.log(JSON.stringify(process.argv.slice(1))); + console.log(JSON.parse(data)); return; // if (tag === 'canary') {