Skip to content
Snippets Groups Projects
Verified Commit 21fc628e authored by Bartek Jaskulski's avatar Bartek Jaskulski
Browse files

fix: exclude .wordpress-org assets from plugin zip


Free plugins usually include screenshots in a magic folder
`.wordpress-org`. Having this in our *internal* release build may cause
plugin to grow excessively large, so simply get rid of the directory.

Signed-off-by: default avatarBart Jaskulski <bjaskulski@protonmail.com>
parent b2b9facf
No related branches found
No related tags found
No related merge requests found
......@@ -108,6 +108,7 @@ plugin zip:
- rm -rf $(ls -A | grep -v release)
- ls -al
- rm -rf ${CI_PROJECT_NAME}
- if [ -d "${CI_PROJECT_DIR}/.wordpress-org" ]; then rm -rf .wordpress-org; fi;
- mv release/${CI_PROJECT_NAME} ./
- rm -rf ./release
- rm -rf ./*.zip
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment