From 48065e564a46bfa497fa61be1145437ec06d5415 Mon Sep 17 00:00:00 2001 From: CodeMaster4711 Date: Sun, 11 Jan 2026 21:24:13 +0100 Subject: [PATCH] fix: double vv in version --- scripts/update.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/update.sh b/scripts/update.sh index 28fd98d9..4f6e35c0 100755 --- a/scripts/update.sh +++ b/scripts/update.sh @@ -95,6 +95,9 @@ if [ -z "$VERSION" ]; then error "No version specified. Usage: $0 " fi +# Strip leading 'v' from version if present (e.g., v0.4.19 -> 0.4.19) +VERSION="${VERSION#v}" + log "🚀 Starting CSF-Core update to version ${VERSION}..." 5 log "✓ Running with $([ "$EUID" -eq 0 ] && echo 'root privileges' || echo 'sudo')" 10