2019-03-22 01:35:01 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -euv
|
|
|
|
|
2019-03-23 11:12:22 +00:00
|
|
|
cd $(dirname "$0")
|
2019-03-22 01:35:01 +00:00
|
|
|
|
2019-03-25 00:25:48 +00:00
|
|
|
export GIT_REVISION=$(git rev-parse HEAD)
|
|
|
|
|
2019-03-22 16:10:53 +00:00
|
|
|
buildAndPush() {
|
|
|
|
export NETWORK=$1
|
|
|
|
export NETWORK_BACKEND=$2
|
2019-03-22 01:35:01 +00:00
|
|
|
|
2019-03-23 11:12:22 +00:00
|
|
|
(cd beacon_node && make push)
|
2019-03-22 01:35:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
buildAndPush testnet0 rlpx
|
|
|
|
buildAndPush testnet1 rlpx
|
|
|
|
|
2019-03-22 16:10:53 +00:00
|
|
|
#buildAndPush testnet0 libp2p
|
|
|
|
#buildAndPush testnet1 libp2p
|