Skip to content

Commit e1e41c2

Browse files
committed
ci: Fix version bump script
1 parent e16052c commit e1e41c2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/bump-package-version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ if (currentVersion.startsWith('0.')) {
3737
bumpType = 'patch';
3838
}
3939
}
40-
await Bun.$`bun --cwd "${pkgDir}" pm version ${bumpType}`;
40+
await Bun.$`cd "${pkgDir}" && bun pm version ${bumpType}`;
4141
const updatedPkgJson = await Bun.file(pkgJsonPath).json();
4242
const newVersion: string = updatedPkgJson.version;
4343
const newTag = getPkgTag(pkg, newVersion);

0 commit comments

Comments
 (0)