| OLD | NEW |
| 1 # This file is used by tools/utils.py to generate version strings. | |
| 2 # The numbers are changed as follows: | |
| 3 # | |
| 4 # * New release cycle has begun (i.e. stable release was just made): | |
| 5 # - increase MINOR by 1 | |
| 6 # - set "PATCH 0" | |
| 7 # - set "PRERELEASE 0" | |
| 8 # - set "PRERELEASE_PATCH 0" | |
| 9 # | |
| 10 # * Doing a push-to-trunk from bleeding_edge: | |
| 11 # (The first push-to-trunk in the release cycle will set PRERELEASE to 1) | |
| 12 # - increase PRERELEASE by 1 | |
| 13 # - set "PRERELEASE_PATCH 0" | |
| 14 # | |
| 15 # * Doing a cherry-pick to trunk: | |
| 16 # - increase PRERELEASE_PATCH by 1 | |
| 17 # | |
| 18 # * Making a stable release (i.e. new stable branch): | |
| 19 # - set "PRERELEASE 0" | |
| 20 # - set "PRERELEASE_PATCH 0" | |
| 21 # The new stable release version will sort higher than the prereleases. | |
| 22 # | |
| 23 # * Making cherry-picks to stable channel | |
| 24 # - increase PATCH by 1 | |
| 25 # | |
| 26 CHANNEL be | 1 CHANNEL be |
| 27 MAJOR 1 | 2 MAJOR 0 |
| 28 MINOR 1 | 3 MINOR 1 |
| 4 BUILD 2 |
| 29 PATCH 0 | 5 PATCH 0 |
| 30 PRERELEASE 0 | |
| 31 PRERELEASE_PATCH 0 | |
| OLD | NEW |