From: Jörn Zaefferer Date: Wed, 21 Mar 2012 20:27:34 +0000 (+0100) Subject: Build/grunt: Always clean befoe release task X-Git-Tag: 1.9.0m8~182 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a00e7f3c8238a5a944d13d4df6745653fed766b7;p=jquery-ui.git Build/grunt: Always clean befoe release task --- diff --git a/grunt.js b/grunt.js index 37f2d9178..2004a2773 100644 --- a/grunt.js +++ b/grunt.js @@ -537,6 +537,6 @@ task.registerHelper( "lpad", function( str, len, chr ) { task.registerTask("default", "lint csslint qunit build compare_size" ); task.registerTask("sizer", "concat:ui min:dist/jquery-ui.min.js compare_size" ); task.registerTask("build", "concat min css_min" ); -task.registerTask("release", "build copy:dist copy:dist_min copy:dist_min_images copy:dist_css_min md5:dist zip:dist" ); +task.registerTask("release", "clean build copy:dist copy:dist_min copy:dist_min_images copy:dist_css_min md5:dist zip:dist" ); task.registerTask("release_themes", "release download_themes copy_themes copy:themes md5:themes zip:themes" ); task.registerTask("release_cdn", "release_themes copy:cdn copy:cdn_min copy:cdn_i18n copy:cdn_i18n_min copy:cdn_min_images copy:cdn_themes md5:cdn zip:cdn" );