Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

Fix duplicate checksum in build-release.sh

rcourtmanfa7ca002508a
diff --git a/scripts/build-release.sh b/scripts/build-release.sh
index 7c53f9a16e..b0182da4d9 100755
--- a/scripts/build-release.sh
+++ b/scripts/build-release.sh
@@ -290,8 +290,9 @@ cp install.sh "$RELEASE_DIR/"
# Generate checksums (include tarballs, helm chart, standalone binaries, and install.sh)
cd "$RELEASE_DIR"
-shopt -s nullglob
-checksum_files=( *.tar.gz pulse-sensor-proxy-* pulse-host-agent-* install.sh )
+shopt -s nullglob extglob
+# Match tarballs, then standalone binaries (excluding .tar.gz and .sha256), then install.sh
+checksum_files=( *.tar.gz pulse-sensor-proxy-!(*.tar.gz|*.sha256) pulse-host-agent-!(*.tar.gz|*.sha256) install.sh )
if compgen -G "pulse-*.tgz" > /dev/null; then
checksum_files+=( pulse-*.tgz )
fi