diff options
Diffstat (limited to 'fluent-bit/packaging/windows-checksums.sh')
-rwxr-xr-x | fluent-bit/packaging/windows-checksums.sh | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/fluent-bit/packaging/windows-checksums.sh b/fluent-bit/packaging/windows-checksums.sh new file mode 100755 index 000000000..227ac0ff2 --- /dev/null +++ b/fluent-bit/packaging/windows-checksums.sh @@ -0,0 +1,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 |