Skip to content
This repository was archived by the owner on Mar 17, 2025. It is now read-only.

Commit 73d95d1

Browse files
committed
chore(grunt): adds grunt-conventional-changelog plugin
this plugin lets you auto-generate changelogs based on given commit history you commit messages have to follow the same conventions that are used in this commit for more information see http://github.com/btford/grunt-conventional-changelog
1 parent 4041dad commit 73d95d1

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

Gruntfile.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,12 @@ module.exports = function(grunt) {
6161
message: 'Build Finished'
6262
}
6363
}
64+
},
65+
66+
changelog: {
67+
options: {
68+
dest: 'CHANGELOG.md'
69+
}
6470
}
6571

6672
});
@@ -70,6 +76,7 @@ module.exports = function(grunt) {
7076
grunt.loadNpmTasks('grunt-exec');
7177
grunt.loadNpmTasks('grunt-contrib-watch');
7278
grunt.loadNpmTasks('grunt-notify');
79+
grunt.loadNpmTasks('grunt-conventional-changelog');
7380

7481
grunt.registerTask('build', ['jshint', 'uglify']);
7582
grunt.registerTask('test', ['exec:casperjs']);

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"grunt-notify": "~0.2.7",
1717
"grunt-contrib-watch": "~0.5.1",
1818
"grunt-contrib-jshint": "~0.6.2",
19-
"grunt-exec": "~0.4.2"
19+
"grunt-exec": "~0.4.2",
20+
"grunt-conventional-changelog": "~1.0.0"
2021
}
2122
}

0 commit comments

Comments
 (0)