Skip to content

Commit 6db0bc9

Browse files
Regenerate README file
1 parent 77ae0ae commit 6db0bc9

1 file changed

Lines changed: 61 additions & 1 deletion

File tree

‎README.md‎

Lines changed: 61 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ To find out which packages have unreleased changes, run `wp maintenance release
5353

5454
To check the locked dependencies of the bundle for security advisories, run `wp maintenance dependencies audit`. It runs `composer audit` against the composer.lock as committed, so it reports what the Code Quality workflow fails on, and marks the packages that are only needed for development, as they don't ship in the Phar. `wp maintenance dependencies update` then updates the affected packages within the constraints of composer.json and opens a pull request with the new composer.lock. Pass `--dry-run` to see the changes first.
5555

56+
To release everything that is ready across the bundle and refresh its lockfile in one go, ask Claude Code to "update the bundle" or run `/update-bundle` from this folder. The skill in `.claude/skills/update-bundle` asks you about every open milestone question first, gets your approval before tagging anything, and then babysits the lockfile pull requests and the automated tests.
57+
5658
## Using
5759

5860
This package implements the following commands:
@@ -153,6 +155,55 @@ GH_TOKEN or GITHUB_TOKEN environment variables otherwise.
153155

154156

155157

158+
### wp maintenance milestone
159+
160+
161+
162+
~~~
163+
wp maintenance milestone
164+
~~~
165+
166+
167+
168+
169+
170+
### wp maintenance milestone assign
171+
172+
Puts issues or pull requests on a milestone.
173+
174+
~~~
175+
wp maintenance milestone assign <repo> <milestone> <number>... [--create]
176+
~~~
177+
178+
Replaces the milestone they were on, so this also defers the open items
179+
of a milestone to a later one, or moves pull requests off a milestone
180+
that was released already.
181+
182+
**OPTIONS**
183+
184+
<repo>
185+
Name of the repository. If no user/org was provided, 'wp-cli' org is
186+
assumed.
187+
188+
<milestone>
189+
Title of the milestone, such as 3.0.4.
190+
191+
<number>...
192+
Numbers of the issues or pull requests.
193+
194+
[--create]
195+
Create the milestone when the repository has none with that title.
196+
197+
**EXAMPLES**
198+
199+
# Defer an open pull request to the next patch release.
200+
$ wp maintenance milestone assign i18n-command 3.0.4 503 --create
201+
Created milestone '3.0.4' in wp-cli/i18n-command.
202+
Added #503 to milestone '3.0.4'.
203+
Success: Put 1 issue(s) or pull request(s) on milestone '3.0.4'.
204+
205+
206+
156207
### wp maintenance milestones-after
157208

158209
Retrieves the milestones that were closed after a given milestone.
@@ -317,7 +368,16 @@ all sit on one open milestone that `release generate` can release, and
317368
which milestone a pull request belongs to. The blockers say what.
318369

319370
Routine pull requests by Dependabot or GitHub Actions only count when
320-
they are on a milestone.
371+
they are on a milestone, and so do pull requests that only change
372+
workflows, the README or other files synced from wp-cli/.github.
373+
374+
The JSON also lists what a maintainer may want to look at before a
375+
release without it blocking one: `open_pull_requests` without an open
376+
milestone, the `open_items` still on the milestone of the unreleased
377+
changes, `direct_commits` that no pull request brought in and that
378+
change more than those development files (null when there are more
379+
commits since the latest tag than GitHub compares), and the
380+
`open_milestones` that could still be released.
321381

322382
Makes no changes.
323383

0 commit comments

Comments
 (0)