feat: serve install scripts from GitHub releases instead of main branch

Scripts like install.sh and install-sensor-proxy.sh are now attached
as release assets and downloaded from releases/latest/download/ URLs.
This ensures users always get scripts compatible with their installed
version, even while development continues on main.

Changes:
- build-release.sh: copy install scripts to release directory
- create-release.yml: upload scripts as release assets
- Updated all documentation and code references to use release URLs
- Scripts reference each other via release URLs for consistency
This commit is contained in:
rcourtman 2025-11-26 08:59:59 +00:00
parent ae3b78d661
commit 6853a0ffd1
15 changed files with 63 additions and 49 deletions

View file

@ -474,8 +474,13 @@ jobs:
gh release upload "${TAG}" release/*.tgz
fi
# Upload install.sh
# Upload install scripts as standalone assets
# Users can now use: curl -fsSL https://github.com/rcourtman/Pulse/releases/latest/download/install.sh | bash
# This ensures scripts are version-locked to the release, not pulled from main branch
gh release upload "${TAG}" release/install.sh
gh release upload "${TAG}" release/install-sensor-proxy.sh
gh release upload "${TAG}" release/install-docker.sh
gh release upload "${TAG}" release/pulse-auto-update.sh
- name: Output release information
run: |