diff --git a/bin/release-check.sh b/bin/release-check.sh index b982aec..80eafce 100755 --- a/bin/release-check.sh +++ b/bin/release-check.sh @@ -14,7 +14,7 @@ root="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" cd "$root" gitea="${LIT_MCP_GITEA:-https://git.loosen-it.de}" -repo="janniclas.loosen/WP-LIT-MCP" +repo="Loosen-IT/WP-LIT-MCP" version="${1:-$(sed -n "s/.*const VERSION = '\(.*\)';/\1/p" src/Plugin.php)}" name="wp-lit-mcp-$version.zip" diff --git a/bin/release-publish.sh b/bin/release-publish.sh index 1120a38..df2f604 100755 --- a/bin/release-publish.sh +++ b/bin/release-publish.sh @@ -16,7 +16,7 @@ root="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" cd "$root" gitea="${LIT_MCP_GITEA:-https://git.loosen-it.de}" -api="$gitea/api/v1/repos/janniclas.loosen/WP-LIT-MCP" +api="$gitea/api/v1/repos/Loosen-IT/WP-LIT-MCP" version="${1:-$(sed -n "s/.*const VERSION = '\(.*\)';/\1/p" src/Plugin.php)}" name="wp-lit-mcp-$version.zip" zip="dist/$name" diff --git a/bin/ship.sh b/bin/ship.sh index 891b66b..cc72ee1 100755 --- a/bin/ship.sh +++ b/bin/ship.sh @@ -13,7 +13,7 @@ root="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" cd "$root" gitea="${LIT_MCP_GITEA:-https://git.loosen-it.de}" -repo="janniclas.loosen/WP-LIT-MCP" +repo="Loosen-IT/WP-LIT-MCP" fail() { echo "ABBRUCH: $*" >&2; exit 1; } step() { echo "==> $*"; } diff --git a/readme.txt b/readme.txt index 3b1a01c..9a0e243 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Tags: mcp, ai, divi, pods, oauth Requires at least: 6.9 Tested up to: 7.1 Requires PHP: 8.1 -Stable tag: 1.0.5 +Stable tag: 1.0.6 License: GPL-2.0-or-later License URI: https://www.gnu.org/licenses/gpl-2.0.html @@ -209,6 +209,9 @@ LIT MCP schreibt nur mit Divi-Versionen, die für diese Plugin-Version geprüft == Changelog == += 1.0.6 = +* Updates kommen direkt vom neuen Repository-Pfad (Loosen-IT/WP-LIT-MCP) statt über die Weiterleitung des alten. + = 1.0.5 = * Nach einer Installation oder einem Versionswechsel prüft WordPress sofort neu auf Updates, damit der Schalter für automatische Updates gleich erscheint. diff --git a/src/Plugin.php b/src/Plugin.php index 8772791..54c6c9e 100644 --- a/src/Plugin.php +++ b/src/Plugin.php @@ -47,7 +47,7 @@ defined('ABSPATH') || exit; */ final class Plugin { - public const VERSION = '1.0.5'; + public const VERSION = '1.0.6'; private static string $pluginFile = ''; private static ?SettingsPage $settingsPage = null; diff --git a/src/Updater/GiteaUpdater.php b/src/Updater/GiteaUpdater.php index afe3f0d..cb7eed0 100644 --- a/src/Updater/GiteaUpdater.php +++ b/src/Updater/GiteaUpdater.php @@ -21,9 +21,9 @@ defined('ABSPATH') || exit; final class GiteaUpdater { public const HOST = 'git.loosen-it.de'; - public const REPOSITORY_URL = 'https://' . self::HOST . '/janniclas.loosen/WP-LIT-MCP'; + public const REPOSITORY_URL = 'https://' . self::HOST . '/Loosen-IT/WP-LIT-MCP'; - private const API_URL = 'https://' . self::HOST . '/api/v1/repos/janniclas.loosen/WP-LIT-MCP/releases/latest'; + private const API_URL = 'https://' . self::HOST . '/api/v1/repos/Loosen-IT/WP-LIT-MCP/releases/latest'; private const RELEASE_DOWNLOADS = self::REPOSITORY_URL . '/releases/download/'; private const SLUG = 'wp-lit-mcp'; diff --git a/tests/Unit/Updater/GiteaUpdaterTest.php b/tests/Unit/Updater/GiteaUpdaterTest.php index 07ba2fa..19c5264 100644 --- a/tests/Unit/Updater/GiteaUpdaterTest.php +++ b/tests/Unit/Updater/GiteaUpdaterTest.php @@ -70,7 +70,7 @@ final class GiteaUpdaterTest extends TestCase { return [ 'http, as Gitea behind a TLS proxy reports it' => [ - 'http://' . GiteaUpdater::HOST . '/janniclas.loosen/WP-LIT-MCP/releases/download/v1.0.0/' + 'http://' . GiteaUpdater::HOST . '/Loosen-IT/WP-LIT-MCP/releases/download/v1.0.0/' . self::ZIP_NAME, ], 'another host' => ['https://evil.example/' . self::ZIP_NAME], diff --git a/wp-lit-mcp.php b/wp-lit-mcp.php index 208ddb2..4b5cd4e 100644 --- a/wp-lit-mcp.php +++ b/wp-lit-mcp.php @@ -2,10 +2,10 @@ /** * Plugin Name: WP-LIT-MCP - * Plugin URI: https://git.loosen-it.de/janniclas.loosen/WP-LIT-MCP + * Plugin URI: https://git.loosen-it.de/Loosen-IT/WP-LIT-MCP * Description: MCP-Server für WordPress, Divi 5 und Pods. Pflegt Inhalte, Medien und Divi-Seiten mit OAuth für KI-Assistenten. - * Version: 1.0.5 - * Update URI: https://git.loosen-it.de/janniclas.loosen/WP-LIT-MCP + * Version: 1.0.6 + * Update URI: https://git.loosen-it.de/Loosen-IT/WP-LIT-MCP * Requires at least: 6.9 * Requires PHP: 8.1 * Tested up to: 7.1