diff --git a/docs/content/docs/guides/EXTERNAL-HOST-WALKTHROUGH.md b/docs/content/docs/guides/EXTERNAL-HOST-WALKTHROUGH.md index 64b3046..1bfa5cb 100644 --- a/docs/content/docs/guides/EXTERNAL-HOST-WALKTHROUGH.md +++ b/docs/content/docs/guides/EXTERNAL-HOST-WALKTHROUGH.md @@ -40,7 +40,7 @@ starts on boot. To install a specific version: ```bash -sudo bash install.sh v0.93.1 +sudo bash install.sh v0.98.0 ``` Check that the service is running: @@ -242,7 +242,7 @@ curl -s http://192.0.2.1:8090/presets ```bash sudo bash install.sh # updates to latest release -sudo bash install.sh v0.93.1 # updates to a specific version +sudo bash install.sh v0.98.0 # updates to a specific version ``` The installer stops the service, downloads the new binary, and restarts diff --git a/docs/content/docs/guides/ON-DEVICE-INSTALL-WALKTHROUGH.md b/docs/content/docs/guides/ON-DEVICE-INSTALL-WALKTHROUGH.md index 9537e40..dd41c65 100644 --- a/docs/content/docs/guides/ON-DEVICE-INSTALL-WALKTHROUGH.md +++ b/docs/content/docs/guides/ON-DEVICE-INSTALL-WALKTHROUGH.md @@ -88,10 +88,10 @@ To target a specific version instead of the default: ```bash # Via environment variable (works with pipe-to-sh) -VERSION=0.92.0 rw && curl -sSL https://raw.githubusercontent.com/gesellix/Bose-SoundTouch/main/scripts/on-device-install/install.sh | sh +VERSION=0.98.0 rw && curl -sSL https://raw.githubusercontent.com/gesellix/Bose-SoundTouch/main/scripts/on-device-install/install.sh | sh # Via command-line flag (pass args after sh -s --) -curl -sSL https://raw.githubusercontent.com/gesellix/Bose-SoundTouch/main/scripts/on-device-install/install.sh | sh -s -- --version 0.92.0 +curl -sSL https://raw.githubusercontent.com/gesellix/Bose-SoundTouch/main/scripts/on-device-install/install.sh | sh -s -- --version 0.98.0 ``` Verify the installed version: @@ -100,7 +100,7 @@ Verify the installed version: wget -qO- http://localhost:8000/health ``` -The JSON response should include `"version":"v0.93.1"` (or whichever +The JSON response should include `"version":"v0.98.0"` (or whichever version you installed). --- @@ -188,13 +188,13 @@ next reboot — which is fine for a one-time setup run): cd /tmp curl -L --fail -o soundtouch-cli \ - https://github.com/gesellix/Bose-SoundTouch/releases/download/v0.93.1/soundtouch-cli-v0.93.1-linux-armv7 + https://github.com/gesellix/Bose-SoundTouch/releases/download/v0.98.0/soundtouch-cli-v0.98.0-linux-armv7 chmod +x soundtouch-cli /tmp/soundtouch-cli --version ``` -Replace `v0.93.1` with the version you installed. +Replace `v0.98.0` with the version you installed. --- diff --git a/docs/content/docs/guides/RASPBERRY-PI.md b/docs/content/docs/guides/RASPBERRY-PI.md index 4ffcaba..b8c0470 100644 --- a/docs/content/docs/guides/RASPBERRY-PI.md +++ b/docs/content/docs/guides/RASPBERRY-PI.md @@ -36,7 +36,7 @@ You can customize the installation using environment variables: ```bash sudo \ - VERSION=v0.93.1 \ + VERSION=v0.98.0 \ HOSTNAME_FQDN=soundtouch.local \ HTTP_PORT=80 \ HTTPS_PORT=443 \ @@ -48,7 +48,7 @@ sudo \ To update the service to a specific version, run the installer with the version as an argument: ```bash -sudo bash install.sh v0.93.1 +sudo bash install.sh v0.98.0 ``` The installer will automatically fetch the latest version of itself for that release and then update the service binary and restart it. diff --git a/examples/navigation-station-demo/go.mod b/examples/navigation-station-demo/go.mod index 2385ceb..26babc2 100644 --- a/examples/navigation-station-demo/go.mod +++ b/examples/navigation-station-demo/go.mod @@ -2,7 +2,7 @@ module navigation-station-demo go 1.26.3 -require github.com/gesellix/bose-soundtouch v0.93.1 +require github.com/gesellix/bose-soundtouch v0.98.0 require github.com/gorilla/websocket v1.5.3 // indirect diff --git a/examples/preset-management/go.mod b/examples/preset-management/go.mod index ea6bf72..1f7a3ae 100644 --- a/examples/preset-management/go.mod +++ b/examples/preset-management/go.mod @@ -2,7 +2,7 @@ module preset-management-example go 1.26.3 -require github.com/gesellix/bose-soundtouch v0.93.1 +require github.com/gesellix/bose-soundtouch v0.98.0 require github.com/gorilla/websocket v1.5.3 // indirect diff --git a/scripts/on-device-install/README.md b/scripts/on-device-install/README.md index ae480cb..1412e70 100644 --- a/scripts/on-device-install/README.md +++ b/scripts/on-device-install/README.md @@ -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.92.0 rw && curl -sSL https://raw.githubusercontent.com/gesellix/Bose-SoundTouch/main/scripts/on-device-install/install.sh | sh +VERSION=0.98.0 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.92.0 +rw && curl -sSL https://raw.githubusercontent.com/gesellix/Bose-SoundTouch/main/scripts/on-device-install/install.sh | sh -s -- --version 0.98.0 # 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.92.0 +sh install.sh --version 0.98.0 ``` 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. diff --git a/scripts/on-device-install/install.sh b/scripts/on-device-install/install.sh index 4d48dd9..208f7fb 100644 --- a/scripts/on-device-install/install.sh +++ b/scripts/on-device-install/install.sh @@ -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.92.0 curl -sSL .../install.sh | sh -# curl -sSL .../install.sh | sh -s -- --version 0.97.0 -VERSION=${VERSION:-0.97.0} +# VERSION=0.98.0 curl -sSL .../install.sh | sh +# curl -sSL .../install.sh | sh -s -- --version 0.98.0 +VERSION=${VERSION:-0.98.0} # Parse optional command-line arguments so the script can be invoked as: -# install.sh --version 0.92.0 -# install.sh -v 0.92.0 +# install.sh --version 0.98.0 +# install.sh -v 0.98.0 while [ $# -gt 0 ]; do case "$1" in --version|-v) diff --git a/scripts/raspberry-pi/README.md b/scripts/raspberry-pi/README.md index f3886d2..3a50d99 100644 --- a/scripts/raspberry-pi/README.md +++ b/scripts/raspberry-pi/README.md @@ -26,7 +26,7 @@ Override defaults at install time: ```bash sudo \ - VERSION=v0.97.0 \ + VERSION=v0.98.0 \ HOSTNAME_FQDN=soundtouch.local \ HTTP_PORT=80 \ HTTPS_PORT=443 \ @@ -116,7 +116,7 @@ Override defaults at install time: ```bash sudo \ - VERSION=v0.97.0 \ + VERSION=v0.98.0 \ HTTP_PORT=8081 \ bash install-web.sh ``` diff --git a/scripts/raspberry-pi/install-web.sh b/scripts/raspberry-pi/install-web.sh index eef2e29..35e04e9 100644 --- a/scripts/raspberry-pi/install-web.sh +++ b/scripts/raspberry-pi/install-web.sh @@ -10,12 +10,12 @@ set -euo pipefail # Examples (override defaults via env vars): # # sudo \ -# VERSION=v0.95.0 \ +# VERSION=v0.98.0 \ # HTTP_PORT=8081 \ # bash install-web.sh # # Or with a version argument to perform an update: -# sudo bash install-web.sh v0.95.0 +# sudo bash install-web.sh v0.98.0 # # Notes: # - This script downloads a release binary for your CPU (auto-detects armv7/arm64/amd64). @@ -26,7 +26,7 @@ set -euo pipefail # - Safe to re-run; it will update the binary, env file, and unit and restart. # ============================================================================== -VERSION="${1:-${VERSION:-v0.97.0}}" +VERSION="${1:-${VERSION:-v0.98.0}}" # Normalize version prefix if [[ ! "$VERSION" =~ ^v ]]; then VERSION="v${VERSION}" diff --git a/scripts/raspberry-pi/install.sh b/scripts/raspberry-pi/install.sh index dd4534b..c5125d6 100644 --- a/scripts/raspberry-pi/install.sh +++ b/scripts/raspberry-pi/install.sh @@ -10,7 +10,7 @@ set -euo pipefail # Examples (override defaults via env vars): # # sudo \ -# VERSION=v0.97.0 \ +# VERSION=v0.98.0 \ # 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.97.0 +# sudo bash install.sh v0.98.0 # # 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.97.0}}" +VERSION="${1:-${VERSION:-v0.98.0}}" # 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.97.0-linux-armv7 + # soundtouch-service-v0.98.0-linux-armv7 echo "https://github.com/gesellix/Bose-SoundTouch/releases/download/${VERSION}/soundtouch-service-${VERSION}-${asset}" }