From febf647ca2843c6c467870baafea134fa32d0823 Mon Sep 17 00:00:00 2001 From: Jeff Ong Date: Wed, 21 Oct 2020 14:27:26 -0400 Subject: [PATCH] git restore and ignore all zip files. --- .gitignore | 2 +- seedlet/package-dotorg.sh | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index fd6d44039..a2de74e42 100644 --- a/.gitignore +++ b/.gitignore @@ -4,4 +4,4 @@ theme-dev-utils/ theme-dev-utils vendor/ *.DS_Store -seedlet.zip \ No newline at end of file +*.zip \ No newline at end of file diff --git a/seedlet/package-dotorg.sh b/seedlet/package-dotorg.sh index 5a5c4f789..911410b1c 100755 --- a/seedlet/package-dotorg.sh +++ b/seedlet/package-dotorg.sh @@ -6,4 +6,5 @@ mkdir seedlet; rsync -avz --exclude-from 'dotorg-exclude.txt' ./ seedlet find seedlet -type f -name '*.map' -delete # for some reason rsync won't exclude map files zip -r -X seedlet.zip seedlet -rm -rf seedlet \ No newline at end of file +rm -rf seedlet +git restore ./ \ No newline at end of file