diff --git a/gulpfile.babel.js b/gulpfile.babel.js index 7bf1076..0ac818d 100644 --- a/gulpfile.babel.js +++ b/gulpfile.babel.js @@ -301,7 +301,7 @@ gulp.task('release', ['compile'], (cb) => { await Promise.all(dirs.map(({name}) => { console.log('zip:', name); - return spawn('zip', [`${TEMP_DIR}/${name}.zip -r ${BUILD_DIR}/${name}`]); + return spawn('zip', [`${TEMP_DIR}/${name}.zip`, '-r', `${BUILD_DIR}/${name}`]); })); let id = await (async () => {