diff --git a/CHANGELOG.md b/CHANGELOG.md index f246ba1..93cfac7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,13 @@ Pre-1.0 versions treat MINOR as feature releases and PATCH as bug fixes. --- +## [0.6.3] — 2026-04-12 + +### Bug Fixes +- **`install.sh` aborts immediately when piped via `curl | bash`** — Interactive confirmation prompt (`read`) received EOF from the pipe and exited non-zero, causing `set -euo pipefail` to kill the script before installation began. Replaced the prompt entirely with a 5-second countdown (`sleep 5`) so the installer works correctly whether piped or run from a file. + +--- + ## [0.6.2] — 2026-04-12 ### Bug Fixes diff --git a/package.json b/package.json index 23606be..ee2827d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "nixpanel-server", - "version": "0.6.2", + "version": "0.6.3", "private": true, "workspaces": [ "server", diff --git a/scripts/install.sh b/scripts/install.sh index 3bb3e12..c7255b3 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -95,9 +95,8 @@ echo " Admin username : $ADMIN_USER" echo " Admin email : $ADMIN_EMAIL" echo " Admin password : $([ "$GENERATED_PASS" = "true" ] && echo "" || echo "$ADMIN_PASS")" echo "" -read -r -p "Continue? [Y/n] " CONFIRM < /dev/tty || CONFIRM="Y" -CONFIRM="${CONFIRM:-Y}" -[[ "$CONFIRM" =~ ^[Yy]$ ]] || { echo "Aborted."; exit 0; } +echo " Starting in 5 seconds — press Ctrl+C to abort." +sleep 5 # ── Logging ─────────────────────────────────────────────────────────────────── mkdir -p /var/log/nixpanel diff --git a/server/src/app.ts b/server/src/app.ts index 46eac0c..6cec904 100644 --- a/server/src/app.ts +++ b/server/src/app.ts @@ -73,7 +73,7 @@ export async function buildApp() { fastify.get('/api/health', async () => ({ status: 'ok', - version: '0.6.2', + version: '0.6.3', timestamp: new Date().toISOString(), }))