소스 검색

Update dotOrg publisher to include style variations (#6253)

Madhu Dollu 3 년 전
부모
커밋
0f026958ae
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      dotorg-exclude.txt
  2. 1 1
      package-dotorg.sh

+ 1 - 1
dotorg-exclude.txt

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

+ 1 - 1
package-dotorg.sh

@@ -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