We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad62a65 commit 98708c7Copy full SHA for 98708c7
.github/scripts/publish-theme-to-wordpress-org-dry-run.sh
@@ -53,7 +53,13 @@ mkdir -p "$VERSION_DIR"
53
cd "$VERSION_DIR"
54
55
echo "Copy files from build directory"
56
-rsync -ah --progress "$THEME_PATH/hello-elementor/"* . || rsync -ah --progress "$THEME_PATH/hello-elementor/." . || true
+rsync -ah --progress "$THEME_PATH/hello-elementor/"* .
57
+
58
+echo "svn delete"
59
+svn status | grep -v '^.[ \t]*\\..*' | { grep '^!' || true; } | awk '{print $2}' | xargs -r svn delete;
60
61
+echo "svn add"
62
+svn status | grep -v '^.[ \t]*\\..*' | { grep '^?' || true; } | awk '{print $2}' | xargs -r svn add;
63
64
echo "Print SVN Status changes"
65
svn status
0 commit comments