13 lines
292 B
TypeScript
13 lines
292 B
TypeScript
import { versionBump } from 'bumpp';
|
|
|
|
export async function release(execute = 'pnpm sa changelog', push = true) {
|
|
await versionBump({
|
|
files: ['**/package.json', '!**/node_modules'],
|
|
execute,
|
|
all: true,
|
|
tag: true,
|
|
commit: 'chore(projects): release v%s',
|
|
push
|
|
});
|
|
}
|