Skip to content

Commit 6a71789

Browse files
committed
fix protoc generation
Signed-off-by: Gregor Zeitlinger <[email protected]>
1 parent fd27043 commit 6a71789

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

prometheus-metrics-exposition-formats/generate-protobuf.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ GENERATED_WITH=$(grep -oP '\/\/ Protobuf Java Version: \K.*' "$TARGET_DIR/${PACK
3535
if [[ $GENERATED_WITH != "$PROTOBUF_VERSION" ]]; then
3636
echo "Generated protobuf sources version $GENERATED_WITH does not match provided version $PROTOBUF_VERSION"
3737
echo "Please update the protoc version .tool-versions to the latest version of https://github.com/protocolbuffers/protobuf/releases"
38+
echo "Please use https://github.com/asdf-vm/asdf - this will use the version specified in .tool-versions"
3839
exit 1
3940
fi
4041

0 commit comments

Comments
 (0)