The release checklist
Part 7, chapter 14, the last of this part. Every step of a release, in order. Copy it into an issue or your notes for each release, and tick it off.
Before
- To do: Every change of this release is committed and pushed to the main branch; CI is green for the last commit.
- To do: Fetch the tags and list the newest five, sorted as versions:
git fetch --tags && git tag -l 'v*' --sort=version:refname | tail -5(Choosing the next version number). - To do: Compare with
gh release listand the Packagist page. - To do: Choose the next number: patch, minor or major (Versioning rules). After
.9comes.10.
The release commit
- To do:
ezinfo.php'Version'andextension.xml<version>set to the new number, withoutv(Bumping ezinfo.php and extension.xml). - To do:
composer.jsonversiontoo, if the file has one. - To do:
share/filelist.md5refreshed, if the extension ships one (filelist.md5 and the upgrade check). - To do: The changelog entry written, upgrade notes first (Changelogs).
- To do: Committed:
Updated: Version 1.2.4.
Check
- To do:
git statusis clean;git log -1is the release commit. - To do:
php -l ezinfo.php,xmllint --noout extension.xml,composer validate. - To do: Lint and tests on the oldest and newest supported PHP (Testing before a release).
- To do: A clean install from the repository on a test site, following the README.
- To do: Every feature used once; no errors, warnings, deprecations or CSP reports from the extension.
- To do: An update from the previous release works with the upgrade notes as written.
Tag and publish
- To do:
git tag -a v1.2.4 -m "Version 1.2.4"on the release commit. - To do:
git push origin mainandgit push origin v1.2.4(the tag by name). - To do: From here the version is permanent (Tags and releases are permanent).
- To do:
gh release create v1.2.4 --title "1.2.4" --notes-file ...(GitHub releases and release notes). - To do: The Packagist page shows 1.2.4 within minutes; if not, check the hook (The Packagist webhook).
After
- To do: Install the released version (
composer require your-account/myext:1.2.4) on a test site and open the about page: the version shows 1.2.4. - To do: Announce where it matters (Announcing a release).
- To do: Close the issues the release fixed, with a link to the release.
- To do: If something is wrong: do not touch the tag or the release; fix it and release 1.2.5, saying what was wrong with 1.2.4.
Related pages
- Previous: The maintenance life cycle
- Next: Part 8: Reference of built-in features for extension authors
- Part 7: Releasing your extension
- Free documentation: this page is free to copy, translate and improve under the GNU FDL 1.3.
Become an Exponential Partner
Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.