-
Notifications
You must be signed in to change notification settings - Fork 164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Workflow with git-flow #275
Comments
Did a quick code search for Line 74 in 922fcd5
So, you might be able to specify |
Thank you @technicalpickles so far. If I understand correctly to start the release branch `release/1.1.2' I need to run the following in order to release the gem:
This way I can't run the same command on each release but have to use the current git release branchs name. Now I have two questions remaining to make this work really well with jeweler:
|
If this is still a needed feature, please let me know, else I will be closing this issue soon. |
Well, I moved away from jeweler a long time ago because of this issue. Therefore I don't need it anymore personally. |
I imagine others will need this feature, so I'll keep it on the list anyway. |
I just tried to find the right workflow using Jeweler in combination with git-flow for my db_clustering project. In git-flow I'm used to start a release branch (e.g.
release/1.1.2
), do my release there so runrake version:bump:patch
andrake release
and merge the release branch with the git-flow scripts (which will merge it to master and develop and checkout the develop branch).The problem is that
rake release
automatically creates a.gemspec
file and uses themaster
branch (instead of the current branch) to do the release – which is not what I was expecting since I was in a different branch. This leads to the re-release of the oldmaster
branch code under the new version tag. Also simply doing thegem version:bump:patch
in the release branch and runningrake release
after merging it to the master branch didn't seem right since this will prevent the.gemspec
file from being updated within thedevelop
branch and I have to manually prevent the merging to the master branch in git-flow from creating a1.1.2
flag.For now I have stopped using git-flow within that library until I'm sure how to do it the right way. Are there any thoughts on how to use git-flow alongside jeweler?
Thanks in advance for any help.
The text was updated successfully, but these errors were encountered: