mirror of
https://github.com/status-im/nim-eth2-scenarios.git
synced 2025-02-26 21:10:40 +00:00
download v1.1.0-alpha.4 test vectors
This commit is contained in:
parent
401046e532
commit
173f7e1d60
@ -4,7 +4,7 @@ set -eu
|
|||||||
|
|
||||||
VERSIONS=(
|
VERSIONS=(
|
||||||
"v1.0.1"
|
"v1.0.1"
|
||||||
"v1.1.0-alpha.4-pre2"
|
"v1.1.0-alpha.4"
|
||||||
)
|
)
|
||||||
FLAVOURS=(
|
FLAVOURS=(
|
||||||
"general"
|
"general"
|
||||||
@ -32,14 +32,8 @@ dl_version() {
|
|||||||
for flavour in "${FLAVOURS[@]}"; do
|
for flavour in "${FLAVOURS[@]}"; do
|
||||||
if [[ ! -e "${flavour}.tar.gz" ]]; then
|
if [[ ! -e "${flavour}.tar.gz" ]]; then
|
||||||
echo "Downloading: ${version}/${flavour}.tar.gz"
|
echo "Downloading: ${version}/${flavour}.tar.gz"
|
||||||
# TODO temporary hack; remove when official v1.0.0-alpha.4 appears
|
|
||||||
if [[ "${version}" == "v1.0.1" ]]; then
|
|
||||||
github_account="ethereum"
|
|
||||||
else
|
|
||||||
github_account="protolambda"
|
|
||||||
fi
|
|
||||||
curl --location --remote-name --silent --show-error \
|
curl --location --remote-name --silent --show-error \
|
||||||
"https://github.com/${github_account}/eth2.0-spec-tests/releases/download/${version}/${flavour}.tar.gz" \
|
"https://github.com/ethereum/eth2.0-spec-tests/releases/download/${version}/${flavour}.tar.gz" \
|
||||||
|| {
|
|| {
|
||||||
echo "Curl failed. Aborting"
|
echo "Curl failed. Aborting"
|
||||||
rm -f "${flavour}.tar.gz"
|
rm -f "${flavour}.tar.gz"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user