Skip to content

Commit 919181a

Browse files
authored
Fix rsync command and clean up script
Updated rsync command to copy files correctly and removed commented mkdir and cd commands.
1 parent b19b4ac commit 919181a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,10 @@ if [[ "$VERSION_EXISTS" == "true" ]]; then
4949
exit 0
5050
fi
5151

52-
#mkdir -p "$VERSION_DIR"
53-
#cd "$VERSION_DIR"
52+
mkdir -p "$VERSION_DIR"
5453

5554
echo "Copy files from build directory"
56-
rsync -ah --progress "$THEME_PATH/hello-elementor/*" $VERSION_DIR
55+
rsync -ah --progress "$THEME_PATH/hello-elementor/"* $VERSION_DIR
5756

5857
cd "$VERSION_DIR"
5958

0 commit comments

Comments
 (0)