diff --git a/bin/build-plugin-zip.sh b/bin/build-plugin-zip.sh index ec8c663cde63b9..e4b61c890f3814 100755 --- a/bin/build-plugin-zip.sh +++ b/bin/build-plugin-zip.sh @@ -80,7 +80,7 @@ mv gutenberg.tmp.php gutenberg.php # Generate the plugin zip file. status "Creating archive... 🎁" -zip -rD \ +zip --recurse-paths --no-dir-entries \ gutenberg.zip \ gutenberg.php \ lib \