2022-05-03 16:09:12 +03:00
|
|
|
# Release checklist
|
|
|
|
|
2022-09-28 16:09:21 +03: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
|
2023-01-05 10:47:01 +03:00
|
|
|
`3 8 1` means "change the version to 3.8.1". This script does much of the
|
2022-09-28 16:09:21 +03:00
|
|
|
mechanical work.
|
|
|
|
|
|
|
|
|
2022-05-03 17:16:11 +03:00
|
|
|
## New feature release
|
|
|
|
|
2022-05-03 16:09:12 +03:00
|
|
|
* Update `WhatsNew.txt`
|
|
|
|
|
2023-01-05 10:47:01 +03:00
|
|
|
* Bump version number to 3.EVEN.0:
|
2022-05-03 16:09:12 +03:00
|
|
|
|
2023-01-05 10:47:01 +03:00
|
|
|
* `./build-scripts/update-version.sh 3 EVEN 0`
|
2022-09-05 21:25:10 +03:00
|
|
|
|
2022-05-03 16:09:12 +03:00
|
|
|
* Do the release
|
|
|
|
|
2022-10-08 19:41:10 +03:00
|
|
|
* Update the website file include/header.inc.php to reflect the new version
|
|
|
|
|
2022-05-03 17:16:11 +03:00
|
|
|
## New bugfix release
|
|
|
|
|
|
|
|
* Check that no new API/ABI was added
|
|
|
|
|
|
|
|
* If it was, do a new feature release (see above) instead
|
|
|
|
|
2023-01-05 10:47:01 +03:00
|
|
|
* Bump version number from 3.Y.Z to 3.Y.(Z+1) (Y is even)
|
2022-05-03 17:16:11 +03:00
|
|
|
|
2023-01-05 10:47:01 +03:00
|
|
|
* `./build-scripts/update-version.sh 3 Y Z+1`
|
2022-09-05 21:25:10 +03:00
|
|
|
|
2022-05-03 17:16:11 +03:00
|
|
|
* Do the release
|
|
|
|
|
2022-10-08 19:41:10 +03:00
|
|
|
* Update the website file include/header.inc.php to reflect the new version
|
|
|
|
|
2022-05-03 17:16:11 +03:00
|
|
|
## After a feature release
|
|
|
|
|
2023-01-05 10:47:01 +03:00
|
|
|
* Create a branch like `release-3.4.x`
|
2022-05-03 17:16:11 +03:00
|
|
|
|
2023-01-05 10:47:01 +03:00
|
|
|
* Bump version number to 3.ODD.0 for next development branch
|
2022-05-03 17:16:11 +03:00
|
|
|
|
2023-01-05 10:47:01 +03:00
|
|
|
* `./build-scripts/update-version.sh 3 ODD 0`
|
2022-05-04 18:43:59 +03:00
|
|
|
|
2022-05-03 17:16:11 +03:00
|
|
|
## New development prerelease
|
|
|
|
|
2023-01-05 10:47:01 +03:00
|
|
|
* Bump version number from 3.Y.Z to 3.Y.(Z+1) (Y is odd)
|
2022-05-03 16:09:12 +03:00
|
|
|
|
2023-01-05 10:47:01 +03:00
|
|
|
* `./build-scripts/update-version.sh 3 Y Z+1`
|
2022-09-05 21:25:10 +03:00
|
|
|
|
2022-05-03 17:16:11 +03:00
|
|
|
* Do the release
|