aboutsummaryrefslogtreecommitdiff
path: root/docs/dev/release/sha256.sh
blob: 700ffdb482dfb06bb1e82de93292b69cfe6ba937 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh

cd gogs || exit # "gogs" is the directory that stores all release archives
for file in *
do
    if [ -f "$file" ]; then
        shasum -a 256 "$file" >> checksum_sha256.txt
    fi
done