Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

Branch and release

Pan Li edited this page Feb 21, 2019 · 10 revisions

Branch and Release model

Branch Version Tags Spring Boot Version
master 2.1.1.BUILD-SNAPSHOT 2.1.0.RELEASE
2.1.0 2.1.0.RELEASE
2.0.x 2.0.9.BUILD-SNAPSHOT 2.0.3.RELEASE
2.0.8 2.0.3.RELEASE
2.0.7 2.0.3.RELEASE
2.0.6 2.0.3.RELEASE
2.0.5 2.0.3.RELEASE
2.0.4 2.0.3.RELEASE
2.0.3 2.0.1.RELEASE
2.0.2 2.0.1.RELEASE
2.0.1 2.0.0.RELEASE
2.0.0 2.0.0.RELEASE
... ...
1.5.x 0.2.5.BUILD-SNAPSHOT 1.5.14.RELEASE
0.2.4 1.5.11.RELEASE
0.2.2 1.5.4.RELEASE
0.2.1 1.5.4.RELEASE
0.2.0 1.5.4.RELEASE
... ...

* means we are working on this tag, and please update this table at the end of release.

Steps of Spring version upgrade

Take spring version 2.2.0.RELEASE as example

  • Upgrade spring version to 2.2.0.RELEASE, make changes for comparability.
  • Branch out 2.2.x.
  • Update master version to 2.3.0.BUILD-SNAPSHOT, as well as upgrade spring version to 2.3.0.BUILD-SNAPSHOT.
  • Continue work on branch 2.2.x, then release 2.2.0.M1, 2.2.0.RC1 and so on.
  • After branch 2.2.0.RC.X is stable enough and spring version 2.2.1.RELEASE available, we can release the final version 2.2.0.RELEASE.
  • Finally, update branch 2.1.x version to 2.2.1.BUILD-SNAPSHOT and upgrade spring version to 2.2.1.RELEASE.

Milestone package release process

This scenario almost for new module, please follow the steps carefully.

  • Update other packages version to next release like from 2.1.7.BUILD-SNAPSHOT to 2.1.7.
  • Release other packages with version 2.1.7.
  • Update new package version to 2.1.7.M1, which depends on 2.1.7.
  • Release new package version with 2.1.7.M1.
  • Update all package version to 2.1.7.BUILD-SNAPSHOT.
  • Finally when stable enough, all package will release to next version 2.1.7.