Skip to content

Commit 5f87f5f

Browse files
committed
implement a make release target using grunt-bump
1 parent c787a78 commit 5f87f5f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Gruntfile.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,8 @@ module.exports = function(grunt) {
112112
grunt.loadNpmTasks('grunt-angular-templates');
113113

114114
// Default task(s).
115-
grunt.registerTask('default', ['clean', 'jshint:all', 'ngtemplates', 'concat', 'copy', 'uglify', 'cssmin']);
115+
grunt.registerTask('default', ['build']);
116+
grunt.registerTask('build', ['clean', 'jshint:all', 'ngtemplates', 'concat', 'copy', 'uglify', 'cssmin']);
117+
grunt.registerTask('makeRelease', ['bump-only', 'build', 'bump-commit']);
116118

117119
};

0 commit comments

Comments
 (0)