run_buf_breaking.sh 305 B

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