Skip to content
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

wp-scripts: add condition to avoid creating . directory while running plugin-zip #41288

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
15 changes: 15 additions & 0 deletions bin/test-create-block.sh
Expand Up @@ -84,3 +84,18 @@ status "Linting JavaScript files..."

status "Creating a plugin zip file..."
../node_modules/.bin/wp-scripts plugin-zip

status "Printing the current working directory..."
pwd

status "Checking if unzip command exists or not..."
unzip --help

status "Trying to unzip example-static.zip file..."
mkdir zip-folder
cp example-static.zip zip-folder
cd zip-folder
unzip example-static.zip

status "Printing the content of directory..."
ls -alR