Skip to content

Commit 544a8ea

Browse files
committed
Internal: Fix build action [TMZ-1013]
1 parent c386064 commit 544a8ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@
1313
"clean:build": "rm -rf assets && rm -rf $npm_package_name",
1414
"build:dir": "npm run clean:build && npm run build:prod && rsync -av --exclude-from=.buildignore . $npm_package_name",
1515
"package": "npm run clean:build && npm run build:prod && rsync -av --exclude-from=.buildignore . $npm_package_name",
16-
"package:zip": "npm run package && zip -r $npm_package_name.$npm_package_version.zip ./$npm_package_name/*",
16+
"package:zip": "npm run package && zip -r $npm_package_name.$npm_package_version.zip $npm_package_name",
1717
"test:php": "docker-compose -f bin/docker-compose.yml run --rm wordpress_phpunit phpunit",
1818
"test:playwright": "playwright test -c tests/playwright/playwright.config.ts",
1919
"test:playwright:headless": "CI=1 playwright test -c tests/playwright/playwright.config.ts",
2020
"test:playwright:debug": "npm run test:playwright -- --debug",
2121
"test:setup:playwright": "wp-env run cli bash hello-elementor-config/setup.sh && wp-env run tests-cli bash hello-elementor-config/setup.sh",
2222
"test:setup:chromium": "npx playwright install chromium",
23-
"zip": "npm run clean:build && npm run build:prod && rsync -av --exclude-from=.buildignore . $npm_package_name && zip -r $npm_package_name.$npm_package_version.zip $npm_package_name/*",
23+
"zip": "npm run clean:build && npm run build:prod && rsync -av --exclude-from=.buildignore . $npm_package_name && zip -r $npm_package_name.$npm_package_version.zip $npm_package_name",
2424
"update-version": "node .github/scripts/update-version-in-files.js",
2525
"wp-env:start": "wp-env start",
2626
"wp-env:stop": "wp-env stop"

0 commit comments

Comments
 (0)