Skip to content

Commit

Permalink
ci: update version-stable.mjs
Browse files Browse the repository at this point in the history
  • Loading branch information
martines3000 committed Aug 10, 2023
1 parent f55401a commit 4a0e966
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions scripts/changesets/version-stable.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -91,18 +91,19 @@ const main = async () => {

if (args.length < 3) {
console.error('No package was selected');
return;
process.exit(0);
}

// Should we version all packages?
if (args[2] === 'all') {
console.log('Versioning all packages');
await execa('pnpm changeset version', {
const { stdout } = await execa('pnpm changeset version', {
shell: true,
stdout: 'inherit',
});

return;
console.log(stdout);

process.exit(0);
}

const allDependencies = new Set();
Expand Down

0 comments on commit 4a0e966

Please sign in to comment.