在《Gradle for Android》一书中,说到一种通用的软件版本号的定义规则:

With semantic versioning, a version number always has the format “major.minor.patch”, and the numbers are incremented according to the following rules: 1. A major version goes up when you make incompatible API changes 2. A minor version gets updated when you add functionality in a backwards- compatible manner 3. patch is incremented when you make bug fixes

翻译过来应该是:

  1. major 用于发布不向下兼容的版本
  2. minor 用于保证兼容的前提下发布了新特性
  3. patch 用于 bug 修复
评论

退出登录