Skip to content

Commit

Permalink
Update dotOrg publisher to include style variations (#6253)
Browse files Browse the repository at this point in the history
  • Loading branch information
madhusudhand authored Jul 19, 2022
1 parent 185df80 commit 0f02695
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dotorg-exclude.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
inc/headstart
node_modules
package.json
.git
*.DS_Store
*.sh
*.json
*.map
*wpcom*
*.zip
Expand Down
2 changes: 1 addition & 1 deletion package-dotorg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0f02695

Please sign in to comment.