dev-generate-checksums.sh 486 B

123456789101112131415
  1. # This script generates the MD5SUMS and SHA1SUMS files.
  2. # You’ll need to have run ‘dev-download-and-check-release.sh’ and
  3. # ‘local-package-for-macos.sh’ scripts to generate the binaries first.
  4. set +x
  5. trap 'exit' ERR
  6. cd /vagrant
  7. rm -f MD5SUMS SHA1SUMS
  8. echo -e "\n\033[4mValidating MD5 checksums...\033[0m"
  9. md5sum exa-linux-x86_64 exa-macos-x86_64 | tee MD5SUMS
  10. echo -e "\n\033[4mValidating SHA1 checksums...\033[0m"
  11. sha1sum exa-linux-x86_64 exa-macos-x86_64 | tee SHA1SUMS