Skip to content

Commit

Permalink
run yarn setup at end of bump commands
Browse files Browse the repository at this point in the history
  • Loading branch information
busma13 committed Feb 4, 2025
1 parent 03fe4dc commit 5bd2d92
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/scripts/src/helpers/bump/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import {
} from './utils.js';
import signale from '../signale.js';
import { syncVersions } from '../sync/utils.js';
import { setup } from '../scripts.js';

export async function bumpPackages(options: BumpPackageOptions, isAsset: boolean): Promise<void> {
const rootInfo = getRootInfo();
Expand Down Expand Up @@ -43,6 +44,8 @@ export async function bumpPackages(options: BumpPackageOptions, isAsset: boolean

await updatePkgJSON(rootInfo);

await setup();

signale.success(`
Please commit these changes:
Expand All @@ -63,6 +66,8 @@ export async function bumpAssetOnly(
const bumpAssetInfo = await bumpAssetVersion(packages, options, isAsset);
const commitMsgs = getBumpCommitMessages(bumpAssetInfo, options.release);

await setup();

for (const pkgInfo of packages) {
await updatePkgJSON(pkgInfo);
}
Expand Down

0 comments on commit 5bd2d92

Please sign in to comment.