gulp-release-tasks icon indicating copy to clipboard operation
gulp-release-tasks copied to clipboard

Invalid gulp tag versioning

Open marek-ganko opened this issue 9 years ago • 6 comments

gulp tag isn't working properly. What he is doing is:

  1. bump the version in bower.json to 0.1.1
  2. git commit -am '...' bower.json file
  3. git tag v0.1.1
  4. 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.

marek-ganko avatar Mar 02 '15 16:03 marek-ganko