mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-05-19 16:27:37 +00:00
Fix checksum verification failure in install.sh (related to #642)
The .sha256 files generated during release builds contained only the hash, but sha256sum -c expects the format "hash filename". This caused all install.sh updates to fail with "Checksum verification failed" even when the checksum was correct. Root cause: build-release.sh line 289 was using awk to extract only field 1 (the hash), discarding the filename that sha256sum -c needs. Fix: Remove the awk filter to preserve the full sha256sum output format. This affected the demo server update workflow and user installations.
This commit is contained in:
parent
a8fa834d24
commit
615cb129df
1 changed files with 1 additions and 1 deletions
|
|
@ -286,7 +286,7 @@ if [ ${#checksum_files[@]} -eq 0 ]; then
|
|||
else
|
||||
# Generate individual .sha256 files for each asset (required by install.sh)
|
||||
for file in "${checksum_files[@]}"; do
|
||||
sha256sum "$file" | awk '{print $1}' > "${file}.sha256"
|
||||
sha256sum "$file" > "${file}.sha256"
|
||||
done
|
||||
|
||||
# Also generate combined checksums.txt for convenience
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue