Hash :
5490505a
Author :
Date :
2022-10-08T09:41:10
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.
Update WhatsNew.txt
Bump version number to 2.EVEN.0:
./build-scripts/update-version.sh 2 EVEN 0
Do the release
Update the website file include/header.inc.php to reflect the new version
Check that no new API/ABI was added
Bump version number from 2.Y.Z to 2.Y.(Z+1) (Y is even)
./build-scripts/update-version.sh 2 Y Z+1
Do the release
Update the website file include/header.inc.php to reflect the new version
Create a branch like release-2.24.x
Bump version number to 2.ODD.0 for next development branch
./build-scripts/update-version.sh 2 ODD 0
Bump version number from 2.Y.Z to 2.Y.(Z+1) (Y is odd)
./build-scripts/update-version.sh 2 Y Z+1
Do the release
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
# Release checklist
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.
## New feature release
* Update `WhatsNew.txt`
* Bump version number to 2.EVEN.0:
* `./build-scripts/update-version.sh 2 EVEN 0`
* Do the release
* Update the website file include/header.inc.php to reflect the new version
## 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)
* `./build-scripts/update-version.sh 2 Y Z+1`
* Do the release
* Update the website file include/header.inc.php to reflect the new version
## After a feature release
* Create a branch like `release-2.24.x`
* Bump version number to 2.ODD.0 for next development branch
* `./build-scripts/update-version.sh 2 ODD 0`
## New development prerelease
* Bump version number from 2.Y.Z to 2.Y.(Z+1) (Y is odd)
* `./build-scripts/update-version.sh 2 Y Z+1`
* Do the release