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 Sign up to answer
Community showcase
Published Oct 23, 2018 in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

966 views 4 2
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