[wp-trac] [WordPress Trac] #63939: `certificates:update` Grunt task does not actually update the dependency

WordPress Trac noreply at wordpress.org
Tue Sep 16 00:24:38 UTC 2025


#63939: `certificates:update` Grunt task does not actually update the dependency
------------------------------+----------------------
 Reporter:  desrosj           |       Owner:  desrosj
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  6.9
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch         |     Focuses:
------------------------------+----------------------
Changes (by desrosj):

 * owner:  (none) => desrosj
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"60765" 60765]:
 {{{
 #!CommitTicketReference repository="" revision="60765"
 Build/Test Tools: Improve certificate-related build scripts.

 Because an exact version is pinned for `composer/ca-bundle`, the `composer
 update` command cannot update the dependency to the latest version. The
 command also does not work for a single dependency due to the fact that
 Composer has been configured not to generate a `composer.lock` file.

 This updates the Grunt task to determine the new version using `composer
 outdated` before running `composer require composer/ca-bundle:NEW_VERSION
 --dev` to properly update the pinned version.

 This also updates the build process test workflow to confirm that the
 certificate-related files under version control in `src/wp-
 includes/certificates` are up to date.

 Props johnbillion.
 Fixes #63939.
 }}}

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


More information about the wp-trac mailing list