]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Grunt: extend `prep-release` task. 16339/head
authorXhmikosR <xhmikosr@gmail.com>
Thu, 23 Apr 2015 10:17:45 +0000 (13:17 +0300)
committerXhmikosR <xhmikosr@gmail.com>
Thu, 23 Apr 2015 16:56:40 +0000 (19:56 +0300)
Make it so that everything is done for us to reduce the possibility of missing something when releasing.

Gruntfile.js

index 28cd22481e771dacaac7cb8556406e9b17c33c2c..1bffd7c347526852195af03ab657169c74df1fca 100644 (file)
@@ -515,7 +515,7 @@ module.exports = function (grunt) {
   grunt.registerTask('lint-docs-js', ['jshint:assets', 'jscs:assets']);
   grunt.registerTask('docs', ['docs-css', 'lint-docs-css', 'docs-js', 'lint-docs-js', 'clean:docs', 'copy:docs', 'build-glyphicons-data', 'build-customizer']);
 
-  grunt.registerTask('prep-release', ['jekyll:github', 'htmlmin', 'compress']);
+  grunt.registerTask('prep-release', ['dist', 'docs', 'jekyll:github', 'htmlmin', 'compress']);
 
   // Task for updating the cached npm packages used by the Travis build (which are controlled by test-infra/npm-shrinkwrap.json).
   // This task should be run and the updated file should be committed whenever Bootstrap's dependencies change.