r003: Version erhöht (r002→r003), package.sh liest Version aus package.json

- Version 2026.08.18.r003 (Unraid erkennt Update)
- package.sh: Version aus package.json statt hartkodiert
- .txz neu gepackt, SHA256 aktualisiert
This commit is contained in:
Mikei386
2026-08-18 11:22:40 +02:00
parent d84170fde7
commit b05cc89a3d
9 changed files with 15 additions and 13 deletions
+1 -1
View File
@@ -248,7 +248,7 @@ $tool_groups = [
<h2>Details</h2>
<table>
<tr><th>Plugin</th><td>MUA (Mikes Unraid Agent)</td></tr>
<tr><th>Version</th><td>2026.08.18.r002</td></tr>
<tr><th>Version</th><td>2026.08.18.r003</td></tr>
<tr><th>Runtime</th><td>TypeScript (Bun Runtime, kompiliertes Binary)</td></tr>
<tr><th>Binary</th><td><code><?= $binary ?></code> <?= $binary_exists ? '✅' : '❌ fehlt' ?></td></tr>
<tr><th>Port (MCP)</th><td><?= $port ?></td></tr>
+4 -2
View File
@@ -13,11 +13,13 @@
set -euo pipefail
VERSION="${1:-2026.08.18.r002}"
ROOT="$(cd "$(dirname "$0")/.." && pwd)"
# Version aus package.json lesen (Argument überschreibt)
PKG_VERSION="$(python3 -c "import json;print(json.load(open('${ROOT}/package.json'))['version'])" 2>/dev/null || echo "")"
VERSION="${1:-${PKG_VERSION:-2026.08.18.r003}}"
PKG_NAME="mua"
ARCH="x86_64"
BUILD_NUM="1"
ROOT="$(cd "$(dirname "$0")/.." && pwd)"
BUILD_DIR="${ROOT}/build/pkg"
DIST_DIR="${ROOT}/dist"