Update dotOrg publisher to include style variations (#6253)

This commit is contained in:
Madhu Dollu 2022-07-20 02:21:29 +05:30 committed by GitHub
parent 185df80c73
commit 0f026958ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -1,9 +1,9 @@
inc/headstart
node_modules
package.json
.git
*.DS_Store
*.sh
*.json
*.map
*wpcom*
*.zip

View file

@ -11,7 +11,7 @@ if [[ "$1" != "" ]]; then
cd $THEME && npm run build;
mkdir $THEME;
rsync -avz --include='theme.json' --exclude $THEME --exclude-from '../dotorg-exclude.txt' ./ $THEME
rsync -avz --exclude $THEME --exclude-from '../dotorg-exclude.txt' ./ $THEME
find $THEME -type f -name '*.map' -delete # for some reason rsync won't exclude map files
rm -rf $THEME/$THEME
zip -r -X $THEME.zip $THEME