Proposing this as an idea pending discussion and testing.
We are currently creating a release branch for every major release, then adding commits to those release branches for hotfixes. This is working but we are accumulating many branches that we are unlikely to use anymore because we only ever create hotfixes on the latest release. We also have tags for every release, so we can always get back to them.
My proposal is that we delete old release/3.x branches. Next, one of two options,
- Rename the current
release/3.7 branch to release. As we prepare each release, we either directly merge latest from master into the release branch, or create a PR to do so.
- Or, we continue to use
release/3.x format for releases and delete old release branches once a new release is out.
I like the idea of a long running release branch (option 1), but option 2 has the advantage that it doesn't change our current release process and only requires a small update to our docs. It is probably also the simplest option.
Assigning to myself. My idea, I will do the work if want to do this.
Proposing this as an idea pending discussion and testing.
We are currently creating a release branch for every major release, then adding commits to those release branches for hotfixes. This is working but we are accumulating many branches that we are unlikely to use anymore because we only ever create hotfixes on the latest release. We also have tags for every release, so we can always get back to them.
My proposal is that we delete old
release/3.xbranches. Next, one of two options,release/3.7branch torelease. As we prepare each release, we either directly merge latest from master into the release branch, or create a PR to do so.release/3.xformat for releases and delete old release branches once a new release is out.I like the idea of a long running release branch (option 1), but option 2 has the advantage that it doesn't change our current release process and only requires a small update to our docs. It is probably also the simplest option.
Assigning to myself. My idea, I will do the work if want to do this.