changelog/.goreleaser.checksum.sh
2023-03-18 01:16:18 -04:00

10 lines
129 B
Bash
Executable file

#!/bin/bash
set -e
if [ -z "$1" ]; then
echo "usage: $0 <path>"
exit 1
fi
shasum -a 256 "$1" | cut -d' ' -f1 > "$1".sha256