diff options
author | Evgenii Kliuchnikov <eustas@google.com> | 2023-09-13 05:13:11 -0700 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2023-09-13 05:13:57 -0700 |
commit | ce9c16e88296385071d975665acb3c3eaa96f26a (patch) | |
tree | 86ae55792adce39a89669331be234183b69658e8 /scripts | |
parent | 63402aa8afb25d03fd710402bdeb84a8ae2208fc (diff) | |
download | brotli-ce9c16e88296385071d975665acb3c3eaa96f26a.zip brotli-ce9c16e88296385071d975665acb3c3eaa96f26a.tar.gz brotli-ce9c16e88296385071d975665acb3c3eaa96f26a.tar.bz2 |
upload full testdata archive
PiperOrigin-RevId: 565017690
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/download_testdata.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/download_testdata.sh b/scripts/download_testdata.sh new file mode 100755 index 0000000..b93028d --- /dev/null +++ b/scripts/download_testdata.sh @@ -0,0 +1,7 @@ +#!/bin/bash +set -x +BROTLI_TAG=${BROTLI_TAG:-dev/null} +BROTLI_TAG="${BROTLI_TAG//'/'/%2F}" # Escaping for tag names with slash (e.g. "dev/null") +ARCHIVE=testdata.txz +curl -L https://github.com/google/brotli/releases/download/${BROTLI_TAG}/${ARCHIVE} -o ${ARCHIVE} +tar xvfJ ${ARCHIVE} |