mirror of
https://github.com/youzan/vant.git
synced 2025-10-21 03:11:15 +00:00
fix(@vant/cli): release plugin not work
This commit is contained in:
@@ -1,15 +0,0 @@
|
||||
import releaseIt from 'release-it';
|
||||
import { build } from '../commands/build.js';
|
||||
import { changelog } from '../commands/changelog.js';
|
||||
|
||||
class VantCliReleasePlugin extends releaseIt.Plugin {
|
||||
async beforeRelease() {
|
||||
// log an empty line
|
||||
console.log('');
|
||||
|
||||
await build();
|
||||
await changelog();
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = VantCliReleasePlugin;
|
Reference in New Issue
Block a user