Skip to content

Commit

Permalink
fix(grunt): load 'build' grunt task and make a pre-req for releasing
Browse files Browse the repository at this point in the history
  • Loading branch information
zzo committed May 4, 2016
1 parent e2d102a commit 1861ae0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gruntfile.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
module.exports = function (grunt) {
grunt.loadTasks('tasks');
grunt.initConfig({
pkgFile: 'package.json',
build: {
Expand Down Expand Up @@ -69,6 +70,7 @@ module.exports = function (grunt) {

grunt.registerTask('release', 'Bump the version and publish to NPM.', function (type) {
grunt.task.run([
'build',
'npm-contributors',
'bump:' + (type || 'patch') + ':bump-only',
'conventionalChangelog',
Expand Down

0 comments on commit 1861ae0

Please sign in to comment.