mirror of
https://gitee.com/honghuangdc/soybean-admin-element-plus.git
synced 2026-05-14 19:27:50 +00:00
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
|
||
|
|
});
|
||
|
|
}
|