diff --git a/.github/scripts/deploy-assets.sh b/.github/scripts/deploy-assets.sh index 5dc3cecd..49662cd0 100755 --- a/.github/scripts/deploy-assets.sh +++ b/.github/scripts/deploy-assets.sh @@ -33,10 +33,13 @@ PLUGIN_SVN_PATH="/tmp/svn" svn co -q "http://svn.wp-plugins.org/$WP_ORG_PLUGIN_NAME" $PLUGIN_SVN_PATH # Delete the wordpress.org assets directory -rm -rf $PLUGIN_SVN_PATH/.wordpress-org +rm -rf $PLUGIN_SVN_PATH/assets + +# WordPress.org serves directory artwork from SVN /assets, not from our repo's dot-directory name. +cp -r ./.wordpress-org $PLUGIN_SVN_PATH/assets -# Copy our plugin assets as the new assets directory -cp -r ./.wordpress-org $PLUGIN_SVN_PATH/.wordpress-org +# Drop the mistargeted directory left behind by earlier deploys +rm -rf $PLUGIN_SVN_PATH/.wordpress-org # Move into SVN directory cd $PLUGIN_SVN_PATH @@ -48,7 +51,7 @@ svn stat | grep '^?' | awk '{print $2}' | xargs -I x svn add x@ svn stat | grep '^!' | awk '{print $2}' | xargs -I x svn rm --force x@ # Debugging -ls -la $PLUGIN_SVN_PATH/.wordpress-org +ls -la $PLUGIN_SVN_PATH/assets # Commit to SVN svn ci --no-auth-cache --username $WP_ORG_USERNAME --password $WP_ORG_PASSWORD -m "Deploy wordpress.org assets" diff --git a/.wordpress-org/banner-1544x500.png b/.wordpress-org/banner-1544x500.png index 250c4315..1e09f48f 100644 Binary files a/.wordpress-org/banner-1544x500.png and b/.wordpress-org/banner-1544x500.png differ diff --git a/.wordpress-org/banner-772x250.png b/.wordpress-org/banner-772x250.png index d371a779..a64cbbaa 100644 Binary files a/.wordpress-org/banner-772x250.png and b/.wordpress-org/banner-772x250.png differ diff --git a/.wordpress-org/icon-128x128.png b/.wordpress-org/icon-128x128.png index 2d99f09b..7b863b9a 100644 Binary files a/.wordpress-org/icon-128x128.png and b/.wordpress-org/icon-128x128.png differ diff --git a/.wordpress-org/icon-256x256.png b/.wordpress-org/icon-256x256.png index 7a3696d5..7fc996d8 100644 Binary files a/.wordpress-org/icon-256x256.png and b/.wordpress-org/icon-256x256.png differ diff --git a/.wordpress-org/screenshot-1.png b/.wordpress-org/screenshot-1.png deleted file mode 100644 index 8c8ea912..00000000 Binary files a/.wordpress-org/screenshot-1.png and /dev/null differ