Opened 10 months ago
Last modified 2 months ago
#60966 new task (blessed)
Introduce a GitHub Actions workflow for bumping the version number in a branch
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Future Release | Priority: | normal |
Severity: | normal | Version: | |
Component: | Build/Test Tools | Keywords: | |
Focuses: | Cc: |
Description
The process for bumping the version number of WordPress within a branch is highly manual and error prone. If a mistake is made or a test fails then it greatly slows down the release process for a branch while the automated test suites run again.
A GitHub Actions workflow should be introduced which:
- Accepts a WordPress version number input in
major.minor
format - Bumps the minor version number in all the required files in that branch (eg. from 6.5.0 to 6.5.1)
- Opens a PR with the changes so the tests can run
- Runs sanity checks to ensure that the about.php page already includes a changelog entry for that version, and fails the build if so
Files to update
- wp-includes/version.php
- package.json
- package-lock.json
Change History (2)
Note: See
TracTickets for help on using
tickets.
I started on a proof of concept for this that can be seen at
A couple of observations/thoughts: