mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
scripts/release: fix sha256sum
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
This commit is contained in:
parent
e5528acf57
commit
c3a9eec843
@ -142,7 +142,9 @@ main() {
|
||||
|
||||
# Generate SHA256SUM
|
||||
echo -e "Generating sha256sum of release artifacts.\n"
|
||||
ls ./release | grep -E '\.tar.gz$|\.zip$' | xargs shasum -a 256; > ./release/SHA256SUM
|
||||
pushd ./release
|
||||
ls . | grep -E '\.tar.gz$|\.zip$' | xargs shasum -a 256 > ./SHA256SUM
|
||||
popd
|
||||
if [ -s ./release/SHA256SUM ]; then
|
||||
cat ./release/SHA256SUM
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user