diff --git a/entrypoint.sh b/entrypoint.sh index 48af7e2..513b179 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -113,6 +113,11 @@ svn status | grep '^\!' | sed 's/! *//' | xargs -I% svn rm %@ > /dev/null echo "➤ Copying tag..." svn cp "trunk" "tags/$VERSION" +# Fix screenshots getting force downloaded when clicking them +# https://developer.wordpress.org/plugins/wordpress-org/plugin-assets/ +svn propset svn:mime-type image/png assets/*.png || true +svn propset svn:mime-type image/jpeg assets/*.jpg || true + svn status echo "➤ Committing files..."