chore: update version to v0.104.1 in all installer scripts

This commit is contained in:
Tobias Gesellchen
2026-05-31 23:43:44 +02:00
parent d94b1bc067
commit 8232fd1401
10 changed files with 35 additions and 35 deletions
+3 -3
View File
@@ -91,14 +91,14 @@ Run the installer again with the version you want to install. The script backs u
```bash
# 1. Environment variable (works when piping into sh)
VERSION=0.104.0 rw && curl -sSL https://raw.githubusercontent.com/gesellix/Bose-SoundTouch/main/scripts/on-device-install/install.sh | sh
VERSION=0.104.1 rw && curl -sSL https://raw.githubusercontent.com/gesellix/Bose-SoundTouch/main/scripts/on-device-install/install.sh | sh
# 2. Command-line flag (pass args after `sh -s --`)
rw && curl -sSL https://raw.githubusercontent.com/gesellix/Bose-SoundTouch/main/scripts/on-device-install/install.sh | sh -s -- --version 0.104.0
rw && curl -sSL https://raw.githubusercontent.com/gesellix/Bose-SoundTouch/main/scripts/on-device-install/install.sh | sh -s -- --version 0.104.1
# 3. Download first, then run with a flag
curl -sSLo install.sh https://raw.githubusercontent.com/gesellix/Bose-SoundTouch/main/scripts/on-device-install/install.sh
sh install.sh --version 0.104.0
sh install.sh --version 0.104.1
```
Running **without** a version override installs the version hard-coded in the script (the latest release at the time the script was published). That default is updated with each release; if you're running from `main`, it reflects the most recent tagged version.
+5 -5
View File
@@ -7,13 +7,13 @@ set -eo pipefail
# picks up the latest binary without extra arguments.
#
# Override via environment variable or the --version/-v flag:
# VERSION=0.104.0 curl -sSL .../install.sh | sh
# curl -sSL .../install.sh | sh -s -- --version 0.104.0
VERSION=${VERSION:-0.104.0}
# VERSION=0.104.1 curl -sSL .../install.sh | sh
# curl -sSL .../install.sh | sh -s -- --version 0.104.1
VERSION=${VERSION:-0.104.1}
# Parse optional command-line arguments so the script can be invoked as:
# install.sh --version 0.104.0
# install.sh -v 0.104.0
# install.sh --version 0.104.1
# install.sh -v 0.104.1
while [ $# -gt 0 ]; do
case "$1" in
--version|-v)
+2 -2
View File
@@ -29,6 +29,6 @@ sudo bash install-web.sh
Pass a version tag as the first argument to pin a specific release:
```bash
sudo bash install.sh v0.104.0
sudo bash install-web.sh v0.104.0
sudo bash install.sh v0.104.1
sudo bash install-web.sh v0.104.1
```
+3 -3
View File
@@ -10,7 +10,7 @@ set -euo pipefail
# Examples (override defaults via env vars):
#
# sudo \
# VERSION=v0.104.0 \
# VERSION=v0.104.1 \
# HTTP_PORT=8081 \
# bash install-web.sh
#
@@ -21,7 +21,7 @@ set -euo pipefail
# bash install-web.sh
#
# Or with a version argument to perform an update:
# sudo bash install-web.sh v0.104.0
# sudo bash install-web.sh v0.104.1
#
# Notes:
# - This script downloads a release binary for your CPU (auto-detects armv7/arm64/amd64).
@@ -32,7 +32,7 @@ set -euo pipefail
# - Safe to re-run; it will update the binary, env file, and unit and restart.
# ==============================================================================
VERSION="${1:-${VERSION:-v0.104.0}}"
VERSION="${1:-${VERSION:-v0.104.1}}"
# Normalize version prefix
if [[ ! "$VERSION" =~ ^v ]]; then
VERSION="v${VERSION}"
+4 -4
View File
@@ -10,7 +10,7 @@ set -euo pipefail
# Examples (override defaults via env vars):
#
# sudo \
# VERSION=v0.104.0 \
# VERSION=v0.104.1 \
# HOSTNAME_FQDN=soundtouch.local \
# HTTP_PORT=80 \
# HTTPS_PORT=443 \
@@ -18,7 +18,7 @@ set -euo pipefail
# bash install.sh
#
# Or with a version argument to perform an update:
# sudo bash install.sh v0.104.0
# sudo bash install.sh v0.104.1
#
# Notes:
# - This script downloads a release binary for your CPU (auto-detects armv7/arm64/amd64).
@@ -28,7 +28,7 @@ set -euo pipefail
# - Safe to re-run; it will update binary/config/unit and restart the service.
# ==============================================================================
VERSION="${1:-${VERSION:-v0.104.0}}"
VERSION="${1:-${VERSION:-v0.104.1}}"
# Normalize version prefix
if [[ ! "$VERSION" =~ ^v ]]; then
VERSION="v${VERSION}"
@@ -117,7 +117,7 @@ detect_arch_asset() {
download_url_for() {
local asset="$1"
# Release asset pattern used by you earlier:
# soundtouch-service-v0.104.0-linux-armv7
# soundtouch-service-v0.104.1-linux-armv7
echo "https://github.com/gesellix/Bose-SoundTouch/releases/download/${VERSION}/soundtouch-service-${VERSION}-${asset}"
}