The current release support in the Makefile determines the branch to be released from the specified version:
Version M.N.0 -> based on master branch
Version M.N.U -> based on stable_M.N branch
That covers the standard cases:
New fix version M.N.Unew based on stable_M.N branch
New minor version M.Nnew.0 based on master branch
New major version M.Nnew.0 based on master branch
However, it does not support these cases:
New minor version M-1.Nnew.0 (new function on a prior major release): Would be based on master branch, but should be based on stable_M-1.N branch and should create a new stable_M-1.Nnew branch.
New fix version M.N-1.Unew (fix on stable version older that last stable version): Would be based on stable_M.N branch, but should be based on stable_M-1.N branch.
This could be supported by allowing to override the base branch that is automatically determined.
The current release support in the Makefile determines the branch to be released from the specified version:
That covers the standard cases:
However, it does not support these cases:
This could be supported by allowing to override the base branch that is automatically determined.