Create a release patch, new version

Now I have a release 1.0.0.

 I just found a bug and already fixed it. So I push it, how to generate a new version? SAY 1.0.1 or 2.0.0 maybe?

And because of stupid, I click "Git Flow" and "Finish the release". It goes to "master" now. I don't know how to do it.

Thank you.

3 answers

Well, how did you create the 1.0.0 release? Version numbers are not an integrated feature of git.

I don't know. Somebody else created "1.0.0" branch for me. Now he is on the vacation and I am stuck here.

Ok, so 1.0.0 is a branch.

And you are using git flow, so it sounds like 1.0.0 is a release branch (is it technically release/1.0.0?).

Did you fix the bug on the release branch release/1.0.0? And then you "finished the release"?

It sounds like you're fine. According to the gitflow workflow, the release/1.0.0 branch is not the actual 1.0.0 version. Rather, the point at which that branch is merged into master is version 1.0.0. It should be "tagged" appropriately.

Yes, if it is a re-tag issue. How to change it as 2.0.0 if I make a bit change and commit the code? Steps in SourceTree would you please?

Suggest an answer

Log in or Join to answer
Community showcase
Brian Ganninger
Published Jan 23, 2018 in Sourcetree

Tip from the team: workflow and keyboard shortcuts

Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...

274 views 0 3
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot