Closed robatosan closed 9 years ago
Thanks for the heads up. I'm not really familiar with bower. Do you know if the version in bower.json needs to match package.json or the latest GitHub release or both or neither?
I would guess it should match the git tag's version, so when putting out a new release both files should be updated. But otherwise they are totally independent. Anyway it's weird, because even if i use a git address with tag in the version field of the bower.json of my project, bower seems to use the version stated in your bower.json instead of ignoring it.
Hmm, interesting. Well, I went ahead and updated bower.json to match package.json. So, now both files show version 1.6.2, while the latest release tag is 1.6.1. Maybe give it another try and see what happens?
Unfortunately that's not enough. You also have to create a new tag with that version.
Good to know. I went ahead and made a release for version 1.6.2. Want to give it another try to see if that makes bower happy?
bower seems to be very happy :)
That's good to hear. I'll just have to try to remember to bump the version in 3 places now instead of 1. Yay for package management.
Bower install fails with the following error:
It's not enough to bump the version in package.json. It needs to be adjusted in bower.json as well!