mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-05-15 01:07:32 +00:00
Reduce release assets by removing duplicates
Removed: - Individual .sha256 files (checksums.txt already contains all checksums) - Standalone binaries without version numbers (users should download versioned tarballs/zips) Standalone binaries are only needed in Docker images for the /download/ endpoint. GitHub releases should only contain versioned archives for user downloads. This reduces release assets from ~54 files to ~19 files per release.
This commit is contained in:
parent
8f0a548e3d
commit
fa8a8f3af3
2 changed files with 8 additions and 44 deletions
15
.github/workflows/release.yml
vendored
15
.github/workflows/release.yml
vendored
|
|
@ -235,7 +235,7 @@ jobs:
|
|||
echo "release_url=$(gh release view ${TAG} --json url -q .url)" >> $GITHUB_OUTPUT
|
||||
echo "tag=${TAG}" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Upload checksums.txt first
|
||||
- name: Upload checksums.txt
|
||||
env:
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
run: |
|
||||
|
|
@ -244,10 +244,6 @@ jobs:
|
|||
echo "Uploading checksums.txt..."
|
||||
gh release upload "${TAG}" release/checksums.txt
|
||||
|
||||
# Also upload individual .sha256 files
|
||||
echo "Uploading individual checksum files..."
|
||||
gh release upload "${TAG}" release/*.sha256
|
||||
|
||||
- name: Upload release assets
|
||||
env:
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
|
|
@ -271,15 +267,6 @@ jobs:
|
|||
# Upload install.sh
|
||||
gh release upload "${TAG}" release/install.sh
|
||||
|
||||
# Upload standalone binaries (for direct download by installers)
|
||||
echo "Uploading standalone binaries..."
|
||||
# Upload binaries without .sha256 files (those were already uploaded)
|
||||
for file in release/pulse-sensor-proxy-* release/pulse-host-agent-*; do
|
||||
if [[ ! "$file" =~ \.sha256$ ]] && [[ ! "$file" =~ \.tar\.gz$ ]] && [[ ! "$file" =~ \.zip$ ]]; then
|
||||
gh release upload "${TAG}" "$file"
|
||||
fi
|
||||
done
|
||||
|
||||
- name: Output release information
|
||||
run: |
|
||||
echo "✅ Release draft created successfully!"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue