I am using jgitflow Maven plugin to make releases according to GitFlow. This works fine. Problems appear when my release is delayed, so I have to make 2 releases simultaneously.
Lets consider an example.
According to GitFlow I have to commit my production state to master branch. Thus I merge 1.0, 1.1, 1.2 releases to master. Someday 2.0 release is started. I need to make 2.0 release committed to master. But what if 1.xx is still not finished?
Committing 1.xx after 2.0 looks like a bad practise and probably will result in merge conflicts.
So my idea is to
create fake dev branch for 1.xx branched from last 1.xx release. Lets call it 1.11dev
run 1.xx jgitflow releases from that branch and merge them no longer to master, but to fake master branch created from last 1.xx release again, lets call it 1.11master
run 2.xx releases from master branch and merge them normally to master.
This means my master branch will contain only part of 1.xx releases. Which is not good. Also this means I have to merge fixes from 1.xxdev to 'true' dev separately.
Is my understanding correct? Is there a better way?