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

WordPress Trac noreply at wordpress.org
Wed Apr 17 16:35:58 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            |  Resolution:
 Keywords:                    |     Focuses:
------------------------------+-----------------------------

Comment (by jorbin):

 I started on a proof of concept for this that can be seen at

  - Workflow File - https://github.com/aaronjorbin/tmp-
 trac-60966/blob/trunk/.github/workflows/create-pr-version.yml
  - Workflow Run - https://github.com/aaronjorbin/tmp-
 trac-60966/actions/runs/8725402099/job/23938282903
  - PR Created - https://github.com/aaronjorbin/tmp-trac-60966/pull/9/files

 A couple of observations/thoughts:
 1. I don't think that this can be run from wordpress/wordpress-develop
 since that is a synced repo and we don't want random branches being pushed
 to it. I'm not sure if it would be best for it to then be something
 individuals run from their own fork. Alternatively, this could be a bash
 oneliner that lives in the handbook and committers can run.
 2. As of now, I haven't attempted anything for the about page. I think for
 tht it might be a few additional questions that get asked, namely: How
 many bugs are being fixed? How many Security Issues are being fixed?  It
 could then generate the strings and include them as a comment on the PR
 but it would be up to the committer to add them to the correct spot.

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


More information about the wp-trac mailing list