Skip to content
This repository was archived by the owner on Feb 12, 2022. It is now read-only.

Commit

Permalink
Merge pull request #815 from swilliamset/automated-version-bumping
Browse files Browse the repository at this point in the history
add grunt-bump, updates project version references
  • Loading branch information
futuremint committed Oct 31, 2014
2 parents 92ffa4d + 47e921b commit 61c42e3
Showing 2 changed files with 16 additions and 0 deletions.
15 changes: 15 additions & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
@@ -11,6 +11,21 @@ module.exports = function(grunt) {
' * Copyright 2012-<%= grunt.template.today("yyyy") %> <%= pkg.author.name %>\n' +
' * Licensed under the <%= pkg.license.type %> license (<%= pkg.license.url %>)\n' +
' */\n',
bump: {
options: {
files: [ 'bower.json', 'package.json' ],
updateConfigs: [ 'pkg' ],
commit: true,
commitMessage: 'Release %VERSION%',
commitFiles: [ 'bower.json', 'README.md', 'package.json' ],
createTag: true,
tagName: '%VERSION%',
tagMessage: '%VERSION%',
push: true,
pushTo: 'upstream',
gitDescribeOptions: '--tags --always --abbrev=1 --dirty=-d'
}
},
jqueryCheck: 'if (typeof jQuery === \'undefined\') { throw new Error(\'Fuel UX\\\'s JavaScript requires jQuery\') }\n\n',
bootstrapCheck: 'if (typeof jQuery.fn.dropdown === \'undefined\' || typeof jQuery.fn.collapse === \'undefined\') ' +
'{ throw new Error(\'Fuel UX\\\'s JavaScript requires Bootstrap\') }\n\n',
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -31,6 +31,7 @@
"bower": "~1.3.9",
"grunt": "~0.4.5",
"grunt-banner": "~0.2.2",
"grunt-bump": "~0.0.14",
"grunt-contrib-clean": "^0.6.0",
"grunt-contrib-compress": "^0.12.0",
"grunt-contrib-concat": "^0.5.0",

0 comments on commit 61c42e3

Please sign in to comment.