From 3a736a81e8d6094fddd10dcc820f83a484bd22e6 Mon Sep 17 00:00:00 2001 From: Gyuho Lee Date: Tue, 17 Sep 2019 14:12:18 -0700 Subject: [PATCH] scripts/release: fix SHA256SUMS command Signed-off-by: Gyuho Lee --- scripts/release | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/release b/scripts/release index 62c8d500f..376d6f42f 100755 --- a/scripts/release +++ b/scripts/release @@ -147,7 +147,7 @@ main() { # Generate SHA256SUMS echo -e "Generating sha256sums of release artifacts.\n" pushd ./release - grep . -E '\.tar.gz$|\.zip$' | xargs shasum -a 256 > ./SHA256SUMS + ls . | grep -E '\.tar.gz$|\.zip$' | xargs shasum -a 256 > ./SHA256SUMS popd if [ -s ./release/SHA256SUMS ]; then cat ./release/SHA256SUMS