Skip to content

Commit ca6101d

Browse files
committed
Check if the signature was properly generated in the release script
1 parent d9a18dd commit ca6101d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

scripts/release_build.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,12 @@ cd thcrap
229229
cd ..
230230
python3 ./git_thcrap/scripts/release_sign.py -k cert.pem thcrap.zip
231231

232+
if [ thcrap.zip -nt thcrap.zip.sig ]; then
233+
echo "Error: thcrap.zip is more recent than thcrap.zip.sig"
234+
ls -l thcrap.zip thcrap.zip.sig
235+
confirm "Continue anyway? (not recommended)"
236+
fi
237+
232238
rm -f thcrap_symbols.zip
233239
cd git_thcrap/bin
234240
7z a ../../thcrap_symbols.zip *

0 commit comments

Comments
 (0)