refactor: remove commented build steps and add checksum script for binaries

This commit is contained in:
2025-01-21 13:18:21 -06:00
parent f54150c3d2
commit 4721373f67
3 changed files with 71 additions and 20 deletions

12
.goreleaser.checksum.sh Normal file
View File

@@ -0,0 +1,12 @@
#!/bin/bash
set -e
if [ -z "$1" ]; then
echo "usage: $0 <path>"
exit 1
fi
SUM=$(shasum -a 256 "$1" | cut -d' ' -f1)
BASENAME=$(basename "$1")
echo -n "${SUM} ${BASENAME}" > "$1".sha256