diff --git a/gulpfile.js b/gulpfile.js index 1eb258b..81cd709 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -19,18 +19,7 @@ console.log(release_filename); console.log(pm_file_path_full_dist); gulp.task('build', () => { - run('\ - mkdir dist ;\ - cp -ar Koha dist/. ;\ - cp -ar JavaScript dist/. ;\ - sed -i -e "s/{VERSION}/' + package_json.version + '/g" ' + pm_file_path_full_dist + ' ;\ - sed -i -e "s/1900-01-01/${today}/g" ${pm_file_path_full_dist} ;\ - cd dist ;\ - zip -r ../' + release_filename + ' ./Koha ./JavaScript ;\ - cd .. ;\ - rm -rf dist ;\ - ').exec(); - + run('mkdir dist ;cp -ar Koha dist/. ;cp -ar JavaScript dist/. ;sed -i -e "s/{VERSION}/' + package_json.version + '/g" ' + pm_file_path_full_dist + ' ;sed -i -e "s/1900-01-01/${today}/g" ${pm_file_path_full_dist} ;cd dist ;zip -r ../' + release_filename + ' ./Koha ./JavaScript ;cd .. ;rm -rf dist ;').exec(); }); gulp.task('release', () => {