Repository navigation
chore: automate the GitHub release notes and credit all contributors - #10671
Merged
paulbalandan merged 1 commit intoOct 28, 2026
Merged
Conversation
michalsn
approved these changes
Oct 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Automates the last manual step of a release, writing the GitHub release notes, and credits every contributor instead of only first-time ones.
admin/create-release.phpreplaces the "Create a new Release" step inadmin/RELEASE.md, where we copied a template and the "New Contributors" list by hand:mastersince the latest published release.--previous=v4.x.woverrides that, and versions and tags work with or without thevprefix.[bot]accounts. First-time contributors keep GitHub's "made their first contribution in ..." note.CodeIgniter 4.x.xwith tagv4.x.xonmaster, with the same intro, changelog link and Full Changelog line as today. It refuses if the release already exists, and--dry-runprints the body instead.The script always passes the previous tag, because GitHub left to itself compared a 4.7.6 release against
v4.7.4instead ofv4.7.5.It runs locally with the maintainer's
ghlogin rather than in a workflow. A release published by a workflow'sGITHUB_TOKENdoesn't triggerdeploy-distributables.yml, and editing the body after publishing would race with the step that copies it to the userguide release.Usage:
php admin/create-release.php 4.x.x [--previous=v4.x.w] [--dry-run]Sample output of
php admin/create-release.php 4.7.6 --previous=v4.7.4 --dry-run.mastercurrently ends at v4.7.5, so this covers the 4.7.5 changes:Checklist: