diff --git a/bin/auto-publish.js b/bin/auto-publish.js index f3628df..3190f2d 100644 --- a/bin/auto-publish.js +++ b/bin/auto-publish.js @@ -29,7 +29,7 @@ const runBuild = (task) => new Promise(async resolve => { shell.cd(codePath); await execa('git', ['checkout', mappingBranch[env].code]); await execa('git', ['pull', 'origin', mappingBranch[env].code]); - await execa('npm', ['run', 'build', 'test-build']); + await execa('npm', ['run', 'build', 'test-newbuild']); resolve(); } catch (e) { console.log('run build error: ', e);