From c7c14f0d2ab210b4e5baf5a93232aafe01a1a7dc Mon Sep 17 00:00:00 2001 From: Marek Miklewicz Date: Sat, 4 Jul 2026 22:54:22 +0200 Subject: [PATCH] Bump version to 1.2.17 --- plugin.conf | 2 +- tests/package_archive_test.sh | 4 ++-- tests/plugin_identity_test.sh | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/plugin.conf b/plugin.conf index 88c6537..1626967 100644 --- a/plugin.conf +++ b/plugin.conf @@ -2,7 +2,7 @@ name=alt-mysql id=alt-mysql type=user author=HITME.PL -version=1.2.16 +version=1.2.17 active=no installed=no user_run_as=root diff --git a/tests/package_archive_test.sh b/tests/package_archive_test.sh index 0edd864..759272c 100644 --- a/tests/package_archive_test.sh +++ b/tests/package_archive_test.sh @@ -2,7 +2,7 @@ set -euo pipefail PLUGIN_DIR="$(cd "$(dirname "$0")/.." && pwd)" -ARCHIVE="${1:-$(cd "$PLUGIN_DIR/.." && pwd)/archives/1.2.16/alt-mysql.tar.gz}" +ARCHIVE="${1:-$(cd "$PLUGIN_DIR/.." && pwd)/archives/1.2.17/alt-mysql.tar.gz}" fail() { echo "FAIL: $*" >&2 @@ -40,7 +40,7 @@ fi CONF="$(tar -xOzf "$ARCHIVE" ./plugin.conf 2>/dev/null || tar -xOzf "$ARCHIVE" plugin.conf)" printf '%s\n' "$CONF" | grep -Fxq "name=alt-mysql" || fail "archive plugin name is not alt-mysql" printf '%s\n' "$CONF" | grep -Fxq "id=alt-mysql" || fail "archive plugin id is not alt-mysql" -printf '%s\n' "$CONF" | grep -Fxq "version=1.2.16" || fail "archive plugin version is not 1.2.16" +printf '%s\n' "$CONF" | grep -Fxq "version=1.2.17" || fail "archive plugin version is not 1.2.17" SETTINGS="$(tar -xOzf "$ARCHIVE" ./plugin-settings.conf 2>/dev/null || tar -xOzf "$ARCHIVE" plugin-settings.conf)" printf '%s\n' "$SETTINGS" | grep -Fxq "PHPMYADMIN_INSTALL_DIR=/var/www/html/alt-mysql-phpmyadmin" \ diff --git a/tests/plugin_identity_test.sh b/tests/plugin_identity_test.sh index 385b97a..78b67fd 100644 --- a/tests/plugin_identity_test.sh +++ b/tests/plugin_identity_test.sh @@ -14,7 +14,7 @@ case "$(basename "$PLUGIN_DIR")" in esac grep -Fxq "name=alt-mysql" "$PLUGIN_DIR/plugin.conf" || fail "plugin.conf name is not alt-mysql" grep -Fxq "id=alt-mysql" "$PLUGIN_DIR/plugin.conf" || fail "plugin.conf id is not alt-mysql" -grep -Fxq "version=1.2.16" "$PLUGIN_DIR/plugin.conf" || fail "plugin.conf version is not 1.2.16" +grep -Fxq "version=1.2.17" "$PLUGIN_DIR/plugin.conf" || fail "plugin.conf version is not 1.2.17" grep -Fq "return '/CMD_PLUGINS/alt-mysql';" "$PLUGIN_DIR/exec/lib/AppContext.php" \ || fail "AppContext base URL is not alt-mysql" grep -Fq "\$pluginId = 'alt-mysql';" "$PLUGIN_DIR/exec/lib/DirectAdminUser.php" \