Skip to content

Commit 866e26b

Browse files
committed
wip
1 parent c8706b5 commit 866e26b

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/scripts/publish-theme-to-wordpress-org.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,11 @@ rsync -ah --progress "$THEME_PATH/hello-elementor/"* "$VERSION_DIR"
5252

5353
cd "$VERSION_DIR"
5454

55-
echo "Preparing files for SVN"
56-
5755
echo "svn delete"
58-
svn status | grep -v '^\?[ \t]*\.$' | { grep '^!' || true; } | awk '{print $2}' | xargs -r svn delete || true
56+
svn status | grep -v '^.[ \t]*\\..*' | { grep '^!' || true; } | awk '{print $2}' | xargs -r svn delete
5957

6058
echo "svn add"
61-
svn status | grep -v '^\?[ \t]*\.$' | { grep '^?' || true; } | awk '{print $2}' | xargs -r svn add || true
59+
svn status | grep -v '^.[ \t]*\\..*' | { grep '^?' || true; } | awk '{print $2}' | xargs -r svn add
6260

6361
echo "Print SVN Status changes"
6462
svn status

0 commit comments

Comments
 (0)