mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-18 13:38:12 +00:00
28 lines
482 B
Bash
Executable File
28 lines
482 B
Bash
Executable File
#!/bin/sh
|
|
|
|
HERE=$(dirname $0)
|
|
|
|
CHECK_OUTPUT=$(mktemp -d)
|
|
trap "rm -r $CHECK_OUTPUT" EXIT
|
|
|
|
$HERE/cointool.py check > $CHECK_OUTPUT/pre.txt
|
|
|
|
ETH_DIR=$HERE/../defs/ethereum
|
|
ETH_REPOS="chains tokens"
|
|
|
|
for dir in $ETH_REPOS; do
|
|
(
|
|
cd $ETH_DIR/$dir; \
|
|
git checkout master; \
|
|
git pull origin master
|
|
)
|
|
done
|
|
|
|
$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
|