From d6e0c9cd2674a7acce5b6105439158eedcf92a88 Mon Sep 17 00:00:00 2001 From: Cody Kaup Date: Tue, 8 Oct 2024 13:58:36 -0500 Subject: [PATCH] TEMP --- scripts/publish-action.mjs | 1 + scripts/versionAndBuildForRelease.mjs | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/publish-action.mjs b/scripts/publish-action.mjs index e464a9138..471fe624c 100755 --- a/scripts/publish-action.mjs +++ b/scripts/publish-action.mjs @@ -77,6 +77,7 @@ const publishAction = async ({ major, version, repo }) => { console.info(`📌 Using package.json version: ${version}`); } else { const data = JSON.parse(process.env.ARG_0); + console.info('DEBUG', data); if (data.dryRun) { console.info('Running as --dry-run, skipping publish action'); return; diff --git a/scripts/versionAndBuildForRelease.mjs b/scripts/versionAndBuildForRelease.mjs index 2908aab72..b7a3a7dc2 100755 --- a/scripts/versionAndBuildForRelease.mjs +++ b/scripts/versionAndBuildForRelease.mjs @@ -9,7 +9,9 @@ async function main() { return; } - const { stdout: nextVersion } = await $`auto shipit --dry-run --quiet`; + const c = `auto shipit --dry-run --quiet`; + console.info('Executing command: ', c); + const { stdout: nextVersion } = await $`${c}`; console.info(`📌 Temporarily bumping version to '${nextVersion}' for build step`); await $`npm --no-git-tag-version version ${nextVersion}`;