etcd/scripts/update_proto_annotations.sh

10 lines
223 B
Bash
Executable File

#!/usr/bin/env bash
set -o errexit
set -o nounset
set -o pipefail
tmpfile=$(mktemp)
go run ./tools/proto-annotations/main.go --annotation etcd_version > "${tmpfile}"
mv "${tmpfile}" ./scripts/etcd_version_annotations.txt