diff options
| author | ruki <[email protected]> | 2019-08-24 09:04:39 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2019-08-24 09:04:39 +0800 |
| commit | 5dbd4ecab8f22d5b2b3f9eeb3f6d91fed94665a8 (patch) | |
| tree | 757cde70b35b7cadeed180f7ceb3aaf1836f5cbd /scripts/archive-all.sh | |
| parent | 75f4eab36fdd0a4bf90ad12a924d6ab153ddbcc1 (diff) | |
update scripts
Diffstat (limited to 'scripts/archive-all.sh')
| -rwxr-xr-x | scripts/archive-all.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/archive-all.sh b/scripts/archive-all.sh index fc8bbc1b5..aa320b6a6 100755 --- a/scripts/archive-all.sh +++ b/scripts/archive-all.sh @@ -36,9 +36,15 @@ fi if [ -f "$outputfile.7z" ]; then rm "$outputfile.7z" fi +if [ -f "$outputfile.tar.gz" ]; then + rm "$outputfile.tar.gz" +fi zip -qr "$outputfile.zip" . 7z a "$outputfile.7z" . +tar -czf "$outputfile.tar.gz" . shasum -a 256 "$outputfile.zip" shasum -a 256 "$outputfile.7z" +shasum -a 256 "$outputfile.tar.gz" ls -l "$outputfile.zip" ls -l "$outputfile.7z" +ls -l "$outputfile.tar.gz" |
