Skip to content

Creating a New Maintenance Branch

Andy Wilkinson edited this page Nov 30, 2021 · 3 revisions

A new maintenance branch should be created from main. For example, if main is currently building 2.6 and we want to start work on 2.7, a 2.6.x maintenance branch must be created:

$ git checkout main
$ git checkout -b 2.6.x

Once the branch has been created, a number of changes must be made both on the new maintenance branch and on main.

On the new maintenance branch:

  • Update the following, replacing "main" with the name of the new maintenance branch (for example "2.6.x"):

    • determineGitHubTag in buildSrc/src/main/java/org/springframework/boot/build/AsciidoctorConventions.java

    • branch in ci/parameters.yml

On main:

Clone this wiki locally