ooni-probe-cli/updatebindata.sh
Simone Basso f1f2350bfa
Release v3.0.7 (#152)
* Update go-bindata and regenerate binary data

* Pin to ooni/probe-engine 0.17.0 and update dependencies

* Set version to 3.0.7

* Readme.md: better release instructions
2020-09-30 10:54:58 +02:00

11 lines
343 B
Bash
Executable File

#!/bin/sh
set -ex
go get -u github.com/shuLhan/go-bindata/...
gobindata=`go env GOPATH`/bin/go-bindata
version=`$gobindata -version | grep ^go-bindata | cut -d ' ' -f2`
if [ "$version" != "4.0.0" ]; then
echo "FATAL: unexpected go-bindata version" 1>&2
exit 1
fi
$gobindata -nometadata -o internal/bindata/bindata.go -pkg bindata data/...