Checksum checking in release script
This commit is contained in:
parent
d3c8396bae
commit
46b0908e45
1 changed files with 2 additions and 1 deletions
3
Justfile
3
Justfile
|
@ -17,9 +17,10 @@ release: mkdir build && check-releases
|
||||||
strip build/main
|
strip build/main
|
||||||
cd release && tar -czvf build.tar.gz ../build &> /dev/null
|
cd release && tar -czvf build.tar.gz ../build &> /dev/null
|
||||||
cd release && 7za a -tzip build.zip ../build -mx=9 &> /dev/null
|
cd release && 7za a -tzip build.zip ../build -mx=9 &> /dev/null
|
||||||
|
sha256sum release/* > release/sha256sums.txt
|
||||||
|
|
||||||
check-releases:
|
check-releases:
|
||||||
sha256sum release/* > release/sha256sums.txt
|
sha256sum -c release/sha256sums.txt # Checking if sha256sums are valid
|
||||||
tar -tf release/build.tar.gz &>/dev/null # Checking if tar is valid
|
tar -tf release/build.tar.gz &>/dev/null # Checking if tar is valid
|
||||||
7za t release/build.zip &>/dev/null # Checking if zip is valid
|
7za t release/build.zip &>/dev/null # Checking if zip is valid
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue