Opened 21 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: | 7.0 | 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.minorformat - 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 (3)
This ticket was mentioned in Slack in #core by johnbillion. View the logs.
14 months ago
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: