开发者

Using Bundler's rake release with git-flow

开发者 https://www.devze.com 2023-03-30 15:52 出处:网络
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

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


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消