Skip to content

Commit fddd7c1

Browse files
committed
ci: Fix bump-package-version script
1 parent 7d755f2 commit fddd7c1

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

scripts/bump-package-version.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,10 @@ if (pkg === 'wxt') {
107107
}
108108

109109
// Commit changes
110-
await Bun.$`git add "${pkgJsonPath}" "${changelogPath}" ${templatePkgJsonPaths.join(' ')}`;
110+
await Bun.$`git add "${pkgJsonPath}" "${changelogPath}"`;
111+
for (const packageJsonPath of templatePkgJsonPaths) {
112+
await Bun.$`git add "${packageJsonPath}"`;
113+
}
111114
await Bun.$`git commit -m "chore(release): ${pkgName} v${newVersion}"`;
112115
await Bun.$`git tag ${newTag}`;
113116
consola.success('Committed version and changelog');

0 commit comments

Comments
 (0)