Skip to content

Commit

Permalink
fix: move refreshInstall after building workspaces step
Browse files Browse the repository at this point in the history
  • Loading branch information
Romakita committed Mar 22, 2024
1 parent d9f55ce commit 6db3b6b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
1 change: 1 addition & 0 deletions packages/monorepo/semantic-release.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ export async function prepare(pluginConfig, context) {

await monoRepo.newVersion({version});
await monoRepo.build("workspace");
await monoRepo.manager.refreshInstall();
await monoRepo.commitChanges({version});
}

Expand Down
6 changes: 0 additions & 6 deletions packages/monorepo/src/utils/packages/newVersion.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,4 @@ export async function newVersion(context) {
}

await context.manager.newVersion(context.version, context);

try {
await context.manager.refreshInstall();
} catch (er) {
console.warn(er);
}
}

0 comments on commit 6db3b6b

Please sign in to comment.