2022-05-03 13:09:12 +00:00
|
|
|
# Release checklist
|
|
|
|
|
2022-09-28 13:09:21 +00:00
|
|
|
When changing the version, run `build-scripts/update-version.sh X Y Z`,
|
|
|
|
where `X Y Z` are the major version, minor version, and patch level. So
|
|
|
|
`2 28 1` means "change the version to 2.28.1". This script does much of the
|
|
|
|
mechanical work.
|
|
|
|
|
|
|
|
|
2022-05-03 14:16:11 +00:00
|
|
|
## New feature release
|
|
|
|
|
2022-05-03 13:09:12 +00:00
|
|
|
* Update `WhatsNew.txt`
|
|
|
|
|
2022-09-28 02:03:26 +00:00
|
|
|
* Bump version number to 2.EVEN.0:
|
2022-05-03 13:09:12 +00:00
|
|
|
|
2022-09-28 02:03:26 +00:00
|
|
|
* `./build-scripts/update-version.sh 2 EVEN 0`
|
2022-09-05 18:25:10 +00:00
|
|
|
|
2022-05-03 13:09:12 +00:00
|
|
|
* Do the release
|
|
|
|
|
2022-10-08 16:41:10 +00:00
|
|
|
* Update the website file include/header.inc.php to reflect the new version
|
|
|
|
|
2022-05-03 14:16:11 +00:00
|
|
|
## New bugfix release
|
|
|
|
|
|
|
|
* Check that no new API/ABI was added
|
|
|
|
|
|
|
|
* If it was, do a new feature release (see above) instead
|
|
|
|
|
|
|
|
* Bump version number from 2.Y.Z to 2.Y.(Z+1) (Y is even)
|
|
|
|
|
2022-09-28 02:03:26 +00:00
|
|
|
* `./build-scripts/update-version.sh 2 Y Z+1`
|
2022-09-05 18:25:10 +00:00
|
|
|
|
2022-05-03 14:16:11 +00:00
|
|
|
* Do the release
|
|
|
|
|
2022-10-08 16:41:10 +00:00
|
|
|
* Update the website file include/header.inc.php to reflect the new version
|
|
|
|
|
2022-05-03 14:16:11 +00:00
|
|
|
## After a feature release
|
|
|
|
|
|
|
|
* Create a branch like `release-2.24.x`
|
|
|
|
|
|
|
|
* Bump version number to 2.ODD.0 for next development branch
|
|
|
|
|
2022-09-28 02:03:26 +00:00
|
|
|
* `./build-scripts/update-version.sh 2 ODD 0`
|
2022-05-04 15:43:59 +00:00
|
|
|
|
2022-05-03 14:16:11 +00:00
|
|
|
## New development prerelease
|
|
|
|
|
|
|
|
* Bump version number from 2.Y.Z to 2.Y.(Z+1) (Y is odd)
|
2022-05-03 13:09:12 +00:00
|
|
|
|
2022-09-28 02:03:26 +00:00
|
|
|
* `./build-scripts/update-version.sh 2 Y Z+1`
|
2022-09-05 18:25:10 +00:00
|
|
|
|
2022-05-03 14:16:11 +00:00
|
|
|
* Do the release
|