diff --git a/scripts/bump-package-version.ts b/scripts/bump-package-version.ts index b1e4efce..64876ea4 100644 --- a/scripts/bump-package-version.ts +++ b/scripts/bump-package-version.ts @@ -37,7 +37,7 @@ if (currentVersion.startsWith('0.')) { bumpType = 'patch'; } } -await Bun.$`bun --cwd "${pkgDir}" pm version ${bumpType}`; +await Bun.$`cd "${pkgDir}" && bun pm version ${bumpType}`; const updatedPkgJson = await Bun.file(pkgJsonPath).json(); const newVersion: string = updatedPkgJson.version; const newTag = getPkgTag(pkg, newVersion);