Thomas Lartaud
Thomas Lartaud
And then, how could we use the values stored by grunt-prompt into grunt-bump ? I tried this in `bump.js` but this is not working, i always get the default values...
It seems its not working ``` module.exports = function (grunt, options) { return { options: { files: [''], updateConfigs: [ 'pkg' ], commit: '', commitMessage: 'Release v%VERSION%', commitFiles: [''], createTag:...
ok, thanks a lot, ``` module.exports = function (grunt, options) { function toArray($arg){ return $arg !== undefined ? $arg.split(',') : false; } return { options: { files: toArray(grunt.config('bump.files')) || ['package.json'],...
argh ... its still not working :( still using default values :(
Ah ok, i'ts just that bump values are wrapped in an 'options' array. In case someone want it, see code below. bump.js ``` module.exports = function (grunt, options) { return...