- Update CHANGELOG.md: move entries from
[Unreleased]to a new[X.Y.Z] - YYYY-MM-DDsection. (This project does not store version incomposer.json; Packagist uses the git tag.) - Update UPGRADING.md if the release has upgrade notes.
- Run pre-release checks:
make release-check(cs-fix, cs-check, rector-dry, phpstan, test-coverage, and optionally demo healthchecks). - Commit all changes, create an annotated tag (e.g.
v1.2.3), and push branch and tag. The release workflow will create the GitHub Release with the changelog. - Publish the package to Packagist if applicable (usually automatic when the tag is pushed).
git add -A
git status # review
git commit -m "Release 1.2.3: Twig override order, demo Composer path, docs"
git tag -a v1.2.3 -m "Release 1.2.3"
git push origin main
git push origin v1.2.3