diff --git a/.github/actions/changesets-fixed-version-bump/index.js b/.github/actions/changesets-fixed-version-bump/index.js index af6aa81627..29fd6b83f9 100644 --- a/.github/actions/changesets-fixed-version-bump/index.js +++ b/.github/actions/changesets-fixed-version-bump/index.js @@ -89073,7 +89073,8 @@ async function bump() { (0, core_1.info)('updating root package.json'); await updateRootPackageJson(version); (0, core_1.info)('setting version'); - await (0, execa_1.command)('changeset version'); + // abstract from different package managers + await (0, execa_1.command)('node_modules/@changesets/cli/bin.js version'); // after bump (0, core_1.info)('executing after bump scripts'); await executeCustomScript((0, core_1.getInput)('after-bump')); diff --git a/build-packages/changesets-fixed-version-bump/index.ts b/build-packages/changesets-fixed-version-bump/index.ts index 9aae32bca7..3b04b1f258 100644 --- a/build-packages/changesets-fixed-version-bump/index.ts +++ b/build-packages/changesets-fixed-version-bump/index.ts @@ -17,7 +17,8 @@ async function bump() { info('updating root package.json'); await updateRootPackageJson(version); info('setting version'); - await command('changeset version'); + // abstract from different package managers + await command('node_modules/@changesets/cli/bin.js version'); // after bump info('executing after bump scripts');