fix(cli): incorrect version when release
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
// @ts-ignore
|
||||
import releaseIt from 'release-it';
|
||||
import { build } from '../commands/build';
|
||||
|
||||
class VantCliReleasePlugin extends releaseIt.Plugin {
|
||||
async beforeRelease() {
|
||||
// log an empty line
|
||||
console.log('');
|
||||
|
||||
await build();
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = VantCliReleasePlugin;
|
||||
Reference in New Issue
Block a user