Explorar o código

scripts/release: fix SHA256SUMS command

Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
Gyuho Lee %!s(int64=6) %!d(string=hai) anos
pai
achega
838315283d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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