1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-18 12:28:09 +00:00

fix(common): add coins_details to release.sh

so that we know if we're delisting something by mistake
This commit is contained in:
matejcik 2021-08-26 15:41:49 +02:00 committed by Tomas Susanka
parent 417b33ba78
commit c65124c320

View File

@ -1,5 +1,10 @@
#!/bin/sh #!/bin/sh
if [ -z "$COINMARKETCAP_API_KEY" ]; then
echo "Please set \$COINMARKETCAP_API_KEY"
exit 1
fi
HERE=$(dirname $0) HERE=$(dirname $0)
CHECK_OUTPUT=$(mktemp -d) CHECK_OUTPUT=$(mktemp -d)
@ -25,3 +30,5 @@ $HERE/cointool.py check > $CHECK_OUTPUT/post.txt
make -C $HERE/../.. gen make -C $HERE/../.. gen
diff $CHECK_OUTPUT/pre.txt $CHECK_OUTPUT/post.txt diff $CHECK_OUTPUT/pre.txt $CHECK_OUTPUT/post.txt
$HERE/coins_details.py