Conversation
scruffian
left a comment
There was a problem hiding this comment.
The reasoning makes sense to me.
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
|
I just cherry-picked this PR to the release/22.7 branch to get it included in the next release: 20688f7 |
…e sync (#76398) Co-authored-by: ockham <bernhard-reiter@git.wordpress.org> Co-authored-by: scruffian <scruffian@git.wordpress.org>
|
Flaky tests detected in 2f1ede7. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/22958434831
|
|
Looks like it worked 🎉 https://github.com/WordPress/gutenberg/actions/runs/22959467975 |
|
Thanks for spotting this and fixing @ockham/@scruffian! This change makes sense. Process question: do Gutenberg releases ever happen within the I considered whether it would be better to separate these 2 steps into a separate job entirely. These steps are not directly related to "building the plugin asset," and it's not very clear when these steps actually run without knowing they happen as a part of the But unfortunately, I posed the question of "how to make it so the If there were an easy way to have a "separate" |
I don't think we ever run GB releases from
It's a bit of a chicken-egg problem I think. We're trying to isolate the build step as much as possible, and to share the resulting plugin zip available elsewhere (GB release, Core sync) -- previously only through GHA artifact upload and download, now also via GHCR. But as you've observed, right not release notes generation shares the
Agree 100% -- it'd be way too fragile to list those dependencies individually. I'm not sure I love the idea of yet another package for a tool that's never going to be "shipped" as part of GB, but maybe we can explore some options. Maybe the |
What?
Fixes a bug in the "Build Gutenberg Plugin Zip" GHA workflow.
Why?
When manually running the "Build Gutenberg Plugin Zip" GHA workflow to publish version 22.7.0 RC 3 of the plugin, it failed with the following error:
Reported here: #75844 (comment).
How?
tl;dr By only generating and uploading the release notes artifact if run for the
IS_GUTENBERG_PLUGINcase (and skipping otherwise).For a more detailed explanation, refer to #75844 (comment).
Testing Instructions
Gotta manually run the "Build Gutenberg Plugin Zip" GHA workflow to find out 😬
(Should cherry-pick this PR to the
release/22.7before attempting.)Follow-up
There's some more opportunity for cleanup/optimization of that workflow (but not critical to unblock the GB 22.7.0 release). I'll file another PR in the near future.