Add multiarch support and GitHub actions. Support even older versions with newest features

This commit is contained in:
xZero707
2021-09-22 23:46:14 +02:00
parent 566ec70c87
commit 827f27fb7f
12 changed files with 101 additions and 8 deletions

View File

@@ -2,7 +2,7 @@
MOD_FILE="mod-update-core.php"
TARGET_FILE="update-core.php"
PATCH_FILE="update-core.php.patch"
PATCH_FILE="wp-admin-update-core.patch"
set -e
cd ./wp-src
@@ -45,7 +45,7 @@ sed -i "s/${MOD_FILE}/${TARGET_FILE}/g" "${PATCH_FILE}"
echo "> Patch file created ${PATCH_FILE}"
echo "> Please run: "
echo " cp './wp-src/${PATCH_FILE}' '../../rootfs/etc/wp-mods/wp-admin/'"
echo " cp './wp-src/${PATCH_FILE}' '../../patches/5.x.x/'"
echo ""
echo "> Don't forget to inspect the patch and THEN commit"
echo "> Finished"