Explorar el Código

scripts/release: fix sha256sum

Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
Gyuho Lee hace 6 años
padre
commit
c3a9eec843
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      scripts/release

+ 3 - 1
scripts/release

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