mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-04-29 03:50:18 +00:00
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:
parent
ae3b78d661
commit
6853a0ffd1
15 changed files with 63 additions and 49 deletions
7
.github/workflows/create-release.yml
vendored
7
.github/workflows/create-release.yml
vendored
|
|
@ -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: |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue