diff --git a/bin/auto-publish.js b/bin/auto-publish.js index a82a719..3be739c 100644 --- a/bin/auto-publish.js +++ b/bin/auto-publish.js @@ -48,7 +48,7 @@ const deleteBuild = (task) => new Promise(async resolve => { shell.rm('-rf', `${buildPath}/static`); await execa('git', ['add', '.']); - await execa('git', ['commit', '-m', `'发布新版本'`]); + await execa('git', ['commit', '-m', `'自动发布'`]); await execa('git', ['push', 'origin', mapping[env].buildBranch]); resolve(); } catch (e) { @@ -64,7 +64,7 @@ const copyBuild = (task) => new Promise(async resolve => { shell.cd(buildPath); await execa('git', ['add', '.']); - await execa('git', ['commit', '-m', `'发布新版本'`]); + await execa('git', ['commit', '-m', `'自动发布'`]); await execa('git', ['push', 'origin', mapping[env].buildBranch]); resolve(); } catch (e) {