Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using Bundler's rake release with git-flow

I'm using git-flow for the development, and Bundler to release my gem. My question is how to use both git-flow release and rake release together. Both tag git, and since the tag is the same there is a conflict.

How should I handle this without having to delete tags. Right now I'm on the develop branch (git-flow), and to move it to the master branch using git-flow, you use a git-flow release.

Thanks for your help,

-Damien

like image 380
dwhite Avatar asked Aug 25 '11 20:08

dwhite


1 Answers

Seems like this workflow does it:

git flow release start v0.0.9
...
git flow release finish -n v0.0.9 
git checkout master
rake release

The -n command-line argument tells git-flow not to tag the branch, so when you do a rake release, it will be tagged correctly.

like image 130
dwhite Avatar answered Oct 17 '22 21:10

dwhite