From 0bf51efda56a794dd43df651cf8c7f0893bdbd9d Mon Sep 17 00:00:00 2001 From: root Date: Thu, 29 Jan 2026 04:01:43 +0200 Subject: [PATCH] Sync installer version with VERSION --- README.md | 4 +++- VERSION | 2 +- install.sh | 8 ++++++-- install_from_gitea.sh | 8 ++++++-- 4 files changed, 16 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index e9fbfff..5ee17fe 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ A modern web hosting control panel for WordPress and general PHP hosting. Built with Laravel 12, Filament v5, Livewire 4, and Tailwind CSS v4. -Version: 0.9-rc25 (release candidate) +Version: 0.9-rc27 (release candidate) This is a release candidate. Expect rapid iteration and breaking changes until 1.0. @@ -156,6 +156,8 @@ php artisan test --compact ## Initial Release +- 0.9-rc27: Installers now read VERSION when available. +- 0.9-rc26: Updated installer version banner. - 0.9-rc25: Added Gitea installer script. - 0.9-rc24: WAF installer improvements and ModSecurity setup fixes. - 0.9-rc: initial release candidate with core hosting, mail, DNS, SSL, backups, and migrations. diff --git a/VERSION b/VERSION index 8bf2576..a267587 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -VERSION=0.9-rc25 +VERSION=0.9-rc27 diff --git a/install.sh b/install.sh index 649068d..453efa7 100755 --- a/install.sh +++ b/install.sh @@ -11,8 +11,12 @@ # set -e -# Version - will be read from VERSION file after clone, this is fallback -JABALI_VERSION="0.9-rc21" +# Version - prefer local VERSION file if present, fallback for curl installs +SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" +if [[ -f "$SCRIPT_DIR/VERSION" ]]; then + JABALI_VERSION="$(sed -n 's/^VERSION=//p' "$SCRIPT_DIR/VERSION")" +fi +JABALI_VERSION="${JABALI_VERSION:-0.9-rc26}" # Colors RED='\033[0;31m' diff --git a/install_from_gitea.sh b/install_from_gitea.sh index 8e86f03..96178a9 100755 --- a/install_from_gitea.sh +++ b/install_from_gitea.sh @@ -11,8 +11,12 @@ # set -e -# Version - will be read from VERSION file after clone, this is fallback -JABALI_VERSION="0.9-rc21" +# Version - prefer local VERSION file if present, fallback for curl installs +SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" +if [[ -f "$SCRIPT_DIR/VERSION" ]]; then + JABALI_VERSION="$(sed -n 's/^VERSION=//p' "$SCRIPT_DIR/VERSION")" +fi +JABALI_VERSION="${JABALI_VERSION:-0.9-rc26}" # Colors RED='\033[0;31m'