1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-23 14:58:09 +00:00
trezor-firmware/common/tools/release.sh

18 lines
327 B
Bash
Raw Normal View History

2021-08-23 10:55:57 +00:00
#!/bin/sh
HERE=$(dirname $0)
CHECK_OUTPUT=$(mktemp -d)
trap "rm -r $CHECK_OUTPUT" EXIT
$HERE/cointool.py check > $CHECK_OUTPUT/pre.txt
$HERE/cointool.py new-definitions -v
2021-08-23 10:55:57 +00:00
$HERE/support.py release
$HERE/cointool.py check > $CHECK_OUTPUT/post.txt
make -C $HERE/../.. gen
diff $CHECK_OUTPUT/pre.txt $CHECK_OUTPUT/post.txt