瀏覽代碼

scripts/release: fix SHA256SUMS command

Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
Gyuho Lee 6 年之前
父節點
當前提交
838315283d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      scripts/release

+ 1 - 1
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