Skip to content

Commit

Permalink
TEMP
Browse files Browse the repository at this point in the history
  • Loading branch information
codykaup committed Oct 8, 2024
1 parent f405b0b commit d6e0c9c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions scripts/publish-action.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 3 additions & 1 deletion scripts/versionAndBuildForRelease.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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}`;
Expand Down

0 comments on commit d6e0c9c

Please sign in to comment.