chore(cli): bump release-it v15 (#10773)
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import { Plugin } from 'release-it';
|
||||
import { execSync } from 'child_process';
|
||||
|
||||
class VantCliReleasePlugin extends Plugin {
|
||||
async beforeRelease() {
|
||||
// log an empty line
|
||||
console.log('');
|
||||
|
||||
execSync('vant-cli build', { stdio: 'inherit' });
|
||||
execSync('vant-cli changelog', { stdio: 'inherit' });
|
||||
}
|
||||
}
|
||||
|
||||
export default VantCliReleasePlugin;
|
||||
Reference in New Issue
Block a user