diff --git a/.github/scripts/publish-to-wordpress-org.sh b/.github/scripts/publish-to-wordpress-org.sh index 822b153..1e7b9a2 100644 --- a/.github/scripts/publish-to-wordpress-org.sh +++ b/.github/scripts/publish-to-wordpress-org.sh @@ -33,13 +33,12 @@ cd $SVN_PATH echo "Checkout from SVN" svn co https://plugins.svn.wordpress.org/${PLUGIN_SLUG}/trunk -ls -lah trunk -ls -lah - echo "Clean trunk folder" cd $SVN_PATH/trunk find . -maxdepth 1 -not -name ".svn" -not -name "." -not -name ".." -exec rm -rf {} + +svn status + echo "Copy files" rsync -ah --progress $PLUGIN_PATH/* $SVN_PATH/trunk