gulp-release-tasks
gulp-release-tasks copied to clipboard
Invalid gulp tag versioning
gulp tag
isn't working properly. What he is doing is:
- bump the version in bower.json to
0.1.1
-
git commit -am '...'
bower.json file -
git tag v0.1.1
-
git push --tag
On the result, version in bower.json is:
- on master branch: 0.1.1
- on tag
v0.1.1
: 0.1.0
To fix this, you should push the commit after second step, so newly created tag will have the same version as it has in bower.json. This behavior is crucial if you publish bower package.