Building Enterprise JavaScript Applications
上QQ阅读APP看书,第一时间看更新

Semantic versioning

In semver, everything is versioned with three digits, MAJOR.MINOR.PATCH, which start at 0.1.0 and are incremented as follows:

  • Patch: After a backward-compatible hotfix
  • Minor: After a backward-compatible set of features/bug fixes have been implemented
  • Major: After a backward-incompatible change

We will be following semantic versioning for our releases.

As with naming feature branches, there are no "right" ways to name release branches. For example, you can suffix the release version with a brief description of what is included in this release, such as release/0.1.0-social-login or  release/0.1.0__social-login. Again, the most important thing is to have a rule and be consistent with it.