chore(cli): bump release-it v15 (#10773)

This commit is contained in:
neverland
2022-07-02 22:26:41 +08:00
committed by GitHub
parent 2f1066e9c6
commit eea5f002a7
9 changed files with 1126 additions and 1027 deletions
@@ -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;