Procházet zdrojové kódy

scripts/release: fix SHA256SUMS command

Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
Gyuho Lee před 6 roky
rodič
revize
838315283d
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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