1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
#!/bin/bash set -eu # Generate checksums for local Windows binaries SOURCE_DIR=${SOURCE_DIR:?} pushd "$SOURCE_DIR" for i in *.exe do echo "$i" sha256sum "$i" > "$i".sha256 done for i in *.zip do echo "$i" sha256sum "$i" > "$i".sha256 done popd