mirror of
https://github.com/youzan/vant.git
synced 2025-10-15 23:55:08 +00:00
chore(cli): bump release-it v15 (#10773)
This commit is contained in:
@@ -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;
|
Reference in New Issue
Block a user