gtsoft-snail-job-admin/packages/scripts/src/commands/release.ts

13 lines
292 B
TypeScript
Raw Normal View History

2024-03-08 17:59:45 +08:00
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
});
}