Skip to content

Commit

Permalink
Add grunt-bump to ease releasing
Browse files Browse the repository at this point in the history
  • Loading branch information
lukemelia committed Aug 31, 2014
1 parent 1892e75 commit 5acda21
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
21 changes: 21 additions & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-bump');

grunt.initConfig({
bump: {
options: {
files: ['package.json'],
updateConfigs: [],
commit: true,
commitMessage: 'Release v%VERSION%',
commitFiles: ['package.json'],
createTag: true,
tagName: 'v%VERSION%',
tagMessage: 'Version %VERSION%',
push: true,
pushTo: 'origin',
gitDescribeOptions: '--tags --always --abbrev=1 --dirty=-d'
}
},
});
};
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
"ember-cli-ic-ajax": "0.1.1",
"ember-cli-qunit": "0.0.4",
"express": "^4.1.1",
"glob": "^3.2.9"
"glob": "^3.2.9",
"grunt": "^0.4.5",
"grunt-bump": "0.0.15"
}
}

0 comments on commit 5acda21

Please sign in to comment.