Browse Source

scripts/release: fix SHA256SUMS command

Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
Gyuho Lee 6 years ago
parent
commit
838315283d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      scripts/release

+ 1 - 1
scripts/release

@@ -147,7 +147,7 @@ main() {
   # Generate SHA256SUMS
   # Generate SHA256SUMS
   echo -e "Generating sha256sums of release artifacts.\n"
   echo -e "Generating sha256sums of release artifacts.\n"
   pushd ./release
   pushd ./release
-  grep . -E '\.tar.gz$|\.zip$' | xargs shasum -a 256 > ./SHA256SUMS
+  ls . | grep -E '\.tar.gz$|\.zip$' | xargs shasum -a 256 > ./SHA256SUMS
   popd
   popd
   if [ -s ./release/SHA256SUMS ]; then
   if [ -s ./release/SHA256SUMS ]; then
     cat ./release/SHA256SUMS
     cat ./release/SHA256SUMS