mirror of
https://github.com/youzan/vant.git
synced 2026-01-23 01:07:55 +08:00
feat(cli): support config npm tag
This commit is contained in:
@@ -4,11 +4,14 @@ import { join } from 'path';
|
||||
|
||||
const PLUGIN_PATH = join(__dirname, '../compiler/vant-cli-release-plugin.js');
|
||||
|
||||
export async function release() {
|
||||
export async function release(command: { tag?: string }) {
|
||||
await releaseIt({
|
||||
plugins: {
|
||||
[PLUGIN_PATH]: {},
|
||||
},
|
||||
npm: {
|
||||
tag: command.tag,
|
||||
},
|
||||
git: {
|
||||
tagName: 'v${version}',
|
||||
commitMessage: 'chore: release ${version}',
|
||||
|
||||
Reference in New Issue
Block a user