Skip to content

Commit c8706b5

Browse files
committed
WIP
1 parent 4eecbe2 commit c8706b5

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@ if svn list "https://themes.svn.wordpress.org/hello-elementor/${VERSION_DIR}" >
4646
fi
4747

4848
mkdir -p "$VERSION_DIR"
49-
svn add "$VERSION_DIR"
50-
cd "$VERSION_DIR"
5149

5250
echo "Copy files from build directory"
53-
rsync -ah --progress "$THEME_PATH/hello-elementor/"* . || rsync -ah --progress "$THEME_PATH/hello-elementor/." . || true
51+
rsync -ah --progress "$THEME_PATH/hello-elementor/"* "$VERSION_DIR"
52+
53+
cd "$VERSION_DIR"
5454

5555
echo "Preparing files for SVN"
5656

@@ -60,6 +60,7 @@ svn status | grep -v '^\?[ \t]*\.$' | { grep '^!' || true; } | awk '{print $2}'
6060
echo "svn add"
6161
svn status | grep -v '^\?[ \t]*\.$' | { grep '^?' || true; } | awk '{print $2}' | xargs -r svn add || true
6262

63+
echo "Print SVN Status changes"
6364
svn status
6465

6566
cd $SVN_PATH

0 commit comments

Comments
 (0)