-
Notifications
You must be signed in to change notification settings - Fork 41.6k
Creating a New Maintenance Branch
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.xOnce 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"):-
determineGitHubTaginbuildSrc/src/main/java/org/springframework/boot/build/AsciidoctorConventions.java -
branchinci/parameters.yml
-
On main:
-
Update
versioningradle.propertiestom.n.0-SNAPSHOT(for example2.7.0-SNAPSHOT) -
Update the following, aligning with the
m.n.xmilestone for the new version (for example"2.7.x"):-
main_branchingit/hooks/prepare-forward-merge -
milestoneinci/parameters.yml -
Example
flycommand inci/README.adoc -
Build badge links in
README.adoc
-
-
Change
LATEST_GAtofalseinci/pipeline.ymlfor bothupdate-homebrew-tapandpublish-to-sdkman