- #!/usr/bin/env bash
- # Local FILE breaking vs the previous descriptor image. buf v2 treats a
- # bare path without #format=binpb as a BSR remote and fails offline.
- set -euo pipefail
- ROOT="$(cd "$(dirname "$0")/.." && pwd)"
- cd "${ROOT}"
- exec buf breaking --against api/proto/hth.api.v1.desc.prev#format=binpb
|