-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scripts: plugin-zip to include root path files #41439
Conversation
Size Change: +86 B (0%) Total Size: 1.24 MB
ℹ️ View Unchanged
|
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.
I tested it again and everything works as before on macOS. We will have to re-test with other environments after publishing to npm later today.
I included a changelog entry for the bug fix and it's ready to land. Thank you so much for handling this PR.
* initial commit * add condition to not add `.` in the path of root files * Update CHANGELOG.md Co-authored-by: Greg Ziółkowski <grzegorz@gziolo.pl>
What?
In some special conditions, plugin-zip was not adding root path files as part of zip.
Why?
Fixes: #40528
How?
Add condition to avoid prefix
.
in the path of root files.Testing Instructions
$ npx @wordpress/create-block gutenpride
$ cd gutenpride
Screenshots or screencast