From 84047b7089a1e5bde582dbec11cb9e37e8eb7021 Mon Sep 17 00:00:00 2001 From: Gert Hengeveld Date: Mon, 2 Oct 2023 22:44:40 +0200 Subject: [PATCH] Test afterShipIt data --- scripts/publish-action.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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') {