diff --git a/Gruntfile.js b/Gruntfile.js index 313f7b44..1b09610c 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -481,6 +481,19 @@ module.exports = function (grunt) { } }, + gitcommit: { + dist: { + options: { + message: 'dist', + noVerify: true, + noStatus: false + }, + files: { + src: ['dist/**/*'] + } + } + }, + compress: { main: { options: { @@ -621,9 +634,10 @@ module.exports = function (grunt) { //------ // Release and publish grunt.registerTask('prep-release', [ - 'dist', // all dist including docs - 'jekyll:github', // build site from scratch - 'compress' // compress zip + 'dist', + 'gitcommit:dist', + 'jekyll:github' // build site from scratch + //'compress' // compress zip ]); grunt.registerTask('publish', [ 'prep-release', // build all including dist, docs, site diff --git a/package.json b/package.json index eb7b5d36..9bced182 100644 --- a/package.json +++ b/package.json @@ -57,6 +57,7 @@ "grunt-csscomb": "~3.1.0", "grunt-eslint": "^17.3.1", "grunt-exec": "~0.4.6", + "grunt-git": "^0.3.7", "grunt-html": "~5.0.0", "grunt-jekyll": "~0.4.2", "grunt-jscs": "~2.4.0",