diff --git a/Koha/Plugin/Com/ByWaterSolutions/CoverFlow.pm b/Koha/Plugin/Com/ByWaterSolutions/CoverFlow.pm index 71f1f59..7640bdc 100644 --- a/Koha/Plugin/Com/ByWaterSolutions/CoverFlow.pm +++ b/Koha/Plugin/Com/ByWaterSolutions/CoverFlow.pm @@ -28,7 +28,7 @@ our $metadata = { author => 'Kyle M Hall', description => 'Convert a report into a coverflow style widget!', date_authored => '2014-06-29', - date_updated => '2014-06-29', + date_updated => '1900-01-01', minimum_version => '3.16', maximum_version => undef, version => $VERSION, diff --git a/gulpfile.js b/gulpfile.js index f2db56e..392212c 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -19,7 +19,17 @@ 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 + ' ; 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(); });