Hello people,
I have a question about the hotifix versioning.
Suppose I released the app with minor fix which is from
1.1.1
to
1.1.2
and in this version I stopped the rollout because we found out that there is some bugs. So I created the new branch
hotfix/1.1.2
from the
release/1.1.2
branch and merge the changes into
release/1.1.2
branch.
But now the question is
1. Is this correct to fix the issue on the
release/1.1.2
branch?
2. What version we should use for the hotfix release? should we use
release/1.1.2
or
release/1.1.3
?
3. Should we merge the
hotfix
branch to
release/1.1.2
branch or first do we need to create the new branch
release/1.1.3
and merge hotfix changes into new branch?
t
tseisel
12/04/2020, 7:17 AM
Did you have a look at:
https://nvie.com/img/git-model@2x.png▾
Note that this is not related to Kotlin
k
KV
12/04/2020, 7:35 AM
Yeah got it as per the above image. The version should be
0.2
means in my case it should
1.1.3
v
Vampire
12/04/2020, 9:11 AM
Whether you use git-flow or not.
If you already created theh 1.1.2 release and anybody was able to get it, then it is burnt and you should not modify it.
If you just internally created it but didn't ship it anywhere I don't see much problem to include the fix.
But that is more personal preference porbably.