mirror of
https://github.com/Llewellynvdm/exa.git
synced 2024-11-25 13:27:33 +00:00
Add script to generate checksums
This commit is contained in:
parent
1ebb2e95ff
commit
d9f6b6e559
2
.gitignore
vendored
2
.gitignore
vendored
@ -11,3 +11,5 @@ ubuntu-xenial-16.04-cloudimg-console.log
|
|||||||
/exa-linux-x86_64-*.zip
|
/exa-linux-x86_64-*.zip
|
||||||
/exa-macos-x86_64
|
/exa-macos-x86_64
|
||||||
/exa-macos-x86_64-*.zip
|
/exa-macos-x86_64-*.zip
|
||||||
|
/MD5SUMS
|
||||||
|
/SHA1SUMS
|
||||||
|
15
devtools/dev-generate-checksums.sh
Normal file
15
devtools/dev-generate-checksums.sh
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
# This script generates the MD5SUMS and SHA1SUMS files.
|
||||||
|
# You’ll need to have run ‘dev-download-and-check-release.sh’ and
|
||||||
|
# ‘local-package-for-macos.sh’ scripts to generate the binaries first.
|
||||||
|
|
||||||
|
set +x
|
||||||
|
trap 'exit' ERR
|
||||||
|
|
||||||
|
cd /vagrant
|
||||||
|
rm -f MD5SUMS SHA1SUMS
|
||||||
|
|
||||||
|
echo -e "\n\033[4mValidating MD5 checksums...\033[0m"
|
||||||
|
md5sum exa-linux-x86_64 exa-macos-x86_64 | tee MD5SUMS
|
||||||
|
|
||||||
|
echo -e "\n\033[4mValidating SHA1 checksums...\033[0m"
|
||||||
|
sha1sum exa-linux-x86_64 exa-macos-x86_64 | tee SHA1SUMS
|
Loading…
Reference in New Issue
Block a user