Skip to content

Commit ec7d033

Browse files
committed
Fix zip command
1 parent 7237a7d commit ec7d033

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gulpfile.babel.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ gulp.task('release', ['compile'], (cb) => {
301301

302302
await Promise.all(dirs.map(({name}) => {
303303
console.log('zip:', name);
304-
return spawn('zip', [`${TEMP_DIR}/${name}.zip -r ${BUILD_DIR}/${name}`]);
304+
return spawn('zip', [`${TEMP_DIR}/${name}.zip`, '-r', `${BUILD_DIR}/${name}`]);
305305
}));
306306

307307
let id = await (async () => {

0 commit comments

Comments
 (0)