[wp-trac] [WordPress Trac] #60966: Introduce a GitHub Actions workflow for bumping the version number in a branch

WordPress Trac noreply at wordpress.org
Tue Apr 9 15:31:05 UTC 2024


#60966: Introduce a GitHub Actions workflow for bumping the version number in a
branch
------------------------------+----------------------------
 Reporter:  johnbillion       |      Owner:  (none)
     Type:  task (blessed)    |     Status:  new
 Priority:  normal            |  Milestone:  Future Release
Component:  Build/Test Tools  |    Version:
 Severity:  normal            |   Keywords:
  Focuses:                    |
------------------------------+----------------------------
 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

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/60966>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list