fix(release): invoke Bun explicitly for lockfile updates
This commit is contained in:
1 parent
d31f8568dc
commit
01d142455b
1 file changed
+1
-1
@@ -9,6 +9,6 @@ export async function prepare(_pluginConfig, { cwd, env, nextRelease, logger })
|
||||
const manifest = JSON.parse(await readFile(packagePath, "utf8"));
|
||||
manifest.version = nextRelease.version;
|
||||
await writeFile(packagePath, `${JSON.stringify(manifest, null, 2)}\n`);
|
||||
await promisify(execFile)(process.execPath, ["install", "--lockfile-only", "--ignore-scripts"], { cwd, env });
|
||||
await promisify(execFile)("bun", ["install", "--lockfile-only", "--ignore-scripts"], { cwd, env });
|
||||
logger.log("Updated package.json and bun.lock to %s", nextRelease.version);
|
||||
}
|
||||
Reference in new issue
Block a user