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

View File

@@ -1,14 +0,0 @@
const releaseIt = require('release-it');
const { execSync } = require('child_process');
class VantCliReleasePlugin extends releaseIt.Plugin {
async beforeRelease() {
// log an empty line
console.log('');
execSync('vant-cli build', { stdio: 'inherit' });
execSync('vant-cli changelog', { stdio: 'inherit' });
}
}
module.exports = VantCliReleasePlugin;