mirror of
https://gitea.com/gitea/changelog.git
synced 2024-06-01 09:56:48 +05:30
10 lines
129 B
Bash
Executable file
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 |