Closed ccorcos closed 8 years ago
A lot has changed since then. What is your config?
grunt.config.merge
bump:
options:
files: ['bower.json'],
updateConfigs: [],
commit: true,
commitMessage: "#{config.name} Release v%VERSION%",
commitFiles: ['-a'],
createTag: false,
tagName: "#{config.name}-release-v%VERSION%",
tagMessage: "",
push: true,
pushTo: 'origin',
gitDescribeOptions: '--tags --always --abbrev=1 --dirty=-d'
What does your bower.json look like?
{
"name": "affirm-js",
"version": "2.3.7-0",
"server": {
"port": 9007,
"path": "/example.html"
},
"dependencies": {
"bourbon": "~4.2.6",
"promisejs": "https://github.com/stackp/promisejs.git"
}
}
Worked for me so you have something else going on. Is your Gruntfile.js adjacent to your bower.json file? Why are you doing a grunt.config.merge?
I have a pretty complicated grunt setup going on with lots of different configurations so they're split into different files. For example:
/grunt/bump.coffee
/proj1/Gruntfile.coffee
/proj1/bower.json
/proj2/Gruntfile.coffee
/proj2/bower.json
pretty sure its your setup and not a bug in grunt-bump. not really sure how much i can help here.
Ok. I'll look into it more later and get back to you
I updated from 0.0.14 to 0.6.0 and I get this error. No idea whats going on. Any ideas?