-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge changes published in the Gutenberg plugin "release/15.5" branch
- Loading branch information
1 parent
9534a7b
commit b88fa5f
Showing
397 changed files
with
10,522 additions
and
5,250 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
--- | ||
name: Gutenberg Release | ||
about: A checklist for the Gutenberg plugin release process | ||
--- | ||
|
||
This issue is to provide visibility on the progress of the release process of Gutenberg VERSION_NUMBER and to centralize any conversations about it. The ultimate goal of this issue is to keep the reference of the steps, resources, work, and conversations about this release so it can be helpful for the next contributors releasing a new Gutenberg version. | ||
|
||
- Gutenberg version to release: VERSION_NUMBER ([milestone](ADD_LINK)) | ||
- Release Manager (a.k.a. Release Lead): | ||
- Release Date VERSION_NUMBER RC: ADD DATE | ||
- Release Date VERSION_NUMBER: ADD DATE | ||
- Previous version change log (as a reference): [15.3](https://github.com/WordPress/gutenberg/releases/tag/v15.3.0) | ||
|
||
## Resources | ||
|
||
- 📖 Read: [Gutenberg Release Process](https://developer.wordpress.org/block-editor/contributors/code/release/) | ||
- 📖 Read: [Leading a Gutenberg Plugin Release](https://codep2.wordpress.com/2021/07/22/leading-a-gutenberg-plugin-release/) | ||
- 📽 Watch: [Gutenberg Plugin: New Release Workflow](https://www.youtube.com/watch?v=TnSgJd3zpJY) | ||
- 📽 Watch: [Creating the Gutenberg plugin v12.0 Release Candidate](https://www.youtube.com/watch?v=FLkLHKecxWg) | ||
- 📽 Watch: [Gutenberg plugin v12.0.0 Release Party!](https://www.youtube.com/watch?v=4SDtpVPDsLc) | ||
|
||
## Checklist | ||
|
||
### RC Day - Wednesday, March 15 | ||
|
||
- [ ] _Optional:_ Attend `#core-editor` meeting (14:00UTC) | ||
- [ ] Post a message in `#core-editor` channel to let folks know you are starting the RC release process | ||
- [ ] Organize and Label PRs on the relevant milestone | ||
- [ ] Start the release process by triggering the `rc` [worklow](https://developer.wordpress.org/block-editor/contributors/code/release/#running-workflow) | ||
- [ ] [Update the created Draft Release accordingly](https://developer.wordpress.org/block-editor/contributors/code/release/#view-the-release-draft) | ||
- [ ] Publish Release | ||
- [ ] Announce in `#core-editor` channel that RC1 has been released and is ready for testing | ||
- [ ] Ping any other relevant channels announcing that the RC is available | ||
- [ ] Create Draft of Release post on Make Core blog _(initial draft in [Google doc](https://docs.google.com/document/d/1Hh25EYXSvRd5K45gq0VFN7yfN5l9om2FpX-_KqpVW7g/edit#))_ | ||
|
||
### Between RC and Release | ||
|
||
- [ ] [Backport to RC](https://github.com/WordPress/gutenberg/pulls?q=is%3Apr+label%3A%22Backport+to+Gutenberg+RC%22+is%3Aclosed) | ||
- [ ] [Draft Release Post Highlights and Change Log](https://docs.google.com/document/d/1Hh25EYXSvRd5K45gq0VFN7yfN5l9om2FpX-_KqpVW7g/edit#) | ||
- [ ] Get assets from [Design Team](https://make.wordpress.org/design/) for the post | ||
- [ ] Reach out to Highlight Authors to draft sections _(if necessary)_ | ||
|
||
### Release Day - Wednesday, March 22 | ||
|
||
- [ ] Post a message in `#core-editor` channel to let folks know you are starting the release process | ||
- [ ] Start the release process by triggering the `stable` [worklow](https://developer.wordpress.org/block-editor/contributors/code/release/#running-workflow) | ||
- [ ] Update the created Draft Release accordingly. Typically by copy/pasting the last RC release notes and add any changes/updates as needed. | ||
- [ ] Publish Release | ||
- [ ] Trigger the update to the plugin directory - SVN _(get approval from member of Core team if necessary)_ | ||
- [ ] Announce in `#core-editor` channel that the plugin has been released | ||
- [ ] Reach out to other contributors to help get the post reviewed | ||
- [ ] Publish Release post on Make Core blog |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
name: 'Setup Node.js and install npm dependencies' | ||
description: 'Configure Node.js and install npm dependencies while managing all aspects of caching.' | ||
inputs: | ||
node-version: | ||
description: 'Optional. The Node.js version to use. When not specified, the version specified in .nvmrc will be used.' | ||
required: false | ||
type: string | ||
|
||
runs: | ||
using: 'composite' | ||
steps: | ||
- name: Use desired version of Node.js | ||
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0 | ||
with: | ||
node-version-file: '.nvmrc' | ||
node-version: ${{ inputs.node-version }} | ||
cache: npm | ||
|
||
- name: Get Node.js and npm version | ||
id: node-version | ||
run: | | ||
echo "NODE_VERSION=$(node -v)" >> $GITHUB_OUTPUT | ||
shell: bash | ||
|
||
- name: Cache node_modules | ||
id: cache-node_modules | ||
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1 | ||
with: | ||
path: '**/node_modules' | ||
key: node_modules-${{ runner.os }}-${{ steps.node-version.outputs.NODE_VERSION }}-${{ hashFiles('package-lock.json') }} | ||
|
||
- name: Install npm dependencies | ||
if: ${{ steps.cache-node_modules.outputs.cache-hit != 'true' }} | ||
run: npm ci | ||
shell: bash | ||
|
||
# On cache hit, we run the post-install script to match the native `npm ci` behavior. | ||
# An example of this is to patch `node_modules` using patch-package. | ||
- name: Post-install | ||
if: ${{ steps.cache-node_modules.outputs.cache-hit == 'true' }} | ||
run: | | ||
# Run the post-install script for the root project. | ||
npm run postinstall | ||
# Run the post-install scripts for workspaces. | ||
npx lerna run postinstall | ||
shell: bash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -69,7 +69,7 @@ jobs: | |
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0 | ||
uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0 | ||
with: | ||
token: ${{ secrets.GUTENBERG_TOKEN }} | ||
|
||
|
@@ -164,11 +164,11 @@ jobs: | |
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0 | ||
uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0 | ||
with: | ||
ref: ${{ needs.bump-version.outputs.release_branch || github.ref }} | ||
|
||
- name: Use desired version of NodeJS | ||
- name: Use desired version of Node.js | ||
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0 | ||
with: | ||
node-version-file: '.nvmrc' | ||
|
@@ -219,7 +219,7 @@ jobs: | |
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0 | ||
uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0 | ||
with: | ||
fetch-depth: 2 | ||
ref: ${{ needs.bump-version.outputs.release_branch }} | ||
|
@@ -307,13 +307,13 @@ jobs: | |
if: ${{ endsWith( needs.bump-version.outputs.new_version, '-rc.1' ) }} | ||
steps: | ||
- name: Checkout (for CLI) | ||
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0 | ||
uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0 | ||
with: | ||
path: main | ||
ref: trunk | ||
|
||
- name: Checkout (for publishing) | ||
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0 | ||
uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0 | ||
with: | ||
path: publish | ||
# Later, we switch this branch in the script that publishes packages. | ||
|
@@ -326,7 +326,7 @@ jobs: | |
git config user.name "Gutenberg Repository Automation" | ||
git config user.email [email protected] | ||
- name: Setup Node (for CLI) | ||
- name: Setup Node.js | ||
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0 | ||
with: | ||
node-version-file: 'main/.nvmrc' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,13 +30,13 @@ jobs: | |
environment: WordPress packages | ||
steps: | ||
- name: Checkout (for CLI) | ||
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0 | ||
uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0 | ||
with: | ||
path: main | ||
ref: trunk | ||
|
||
- name: Checkout (for publishing) | ||
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0 | ||
uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0 | ||
with: | ||
path: publish | ||
# Later, we switch this branch in the script that publishes packages. | ||
|
@@ -49,7 +49,7 @@ jobs: | |
git config user.name "Gutenberg Repository Automation" | ||
git config user.email [email protected] | ||
- name: Setup Node (for CLI) | ||
- name: Setup Node.js | ||
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0 | ||
with: | ||
node-version-file: 'main/.nvmrc' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
b88fa5f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Flaky tests detected in b88fa5f.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.
🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/4556130741
📝 Reported issues:
/test/e2e/specs/site-editor/template-part.spec.js