Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
KingYes committed Dec 8, 2024
1 parent b66cc36 commit b02abea
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/scripts/publish-to-wordpress-org.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,17 +37,13 @@ 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

ls -lah

echo "Preparing files"
cd $SVN_PATH/trunk

ls -lah
svn status

echo "svn delete"
svn status | grep -v '^.[ \t]*\\..*' | { grep '^!' || true; } | awk '{print $2}' | xargs -r svn delete;
Expand Down

0 comments on commit b02abea

Please sign in to comment.