mirror of
https://github.com/youzan/vant.git
synced 2026-03-10 02:07:09 +08:00
18 lines
402 B
TypeScript
18 lines
402 B
TypeScript
/* eslint-disable no-template-curly-in-string */
|
|
import releaseIt from 'release-it';
|
|
import { join } from 'path';
|
|
|
|
const PLUGIN_PATH = join(__dirname, '../compiler/vant-cli-release-plugin.js');
|
|
|
|
export async function release() {
|
|
await releaseIt({
|
|
plugins: {
|
|
[PLUGIN_PATH]: {},
|
|
},
|
|
git: {
|
|
tagName: 'v${version}',
|
|
commitMessage: 'chore: release ${version}',
|
|
},
|
|
});
|
|
}
|