diff --git a/Gruntfile.js b/Gruntfile.js index 9a88069c..459deee9 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -417,6 +417,18 @@ module.exports = function(grunt) { 'csso:build' ]); + /** + * Dry-run task + * Run `grunt dryrun` on the command line + * Build and move bundled files to root + */ + grunt.registerTask('dryrun', 'Build and move bundled files to root', [ + 'build', + 'clean:release', + 'copy:release', + 'clean:build' + ]); + /** * Release task * Run `grunt release` on the command line @@ -428,10 +440,7 @@ module.exports = function(grunt) { function(versionType) { grunt.task.run('push:' + (versionType || '') + ':bump-only'); grunt.task.run([ - 'build', - 'clean:release', - 'copy:release', - 'clean:build', + 'dryrun', 'changelog' ]); grunt.task.run('push-commit');