diff --git a/CHANGELOG.md b/CHANGELOG.md index b32a99b..5276daa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), This module now requires [Go 1.21](https://go.dev/doc/go1.21) or higher. +### Added +- Added support for [buf.build](https://buf.build/alta/protopatch). + ### Notes - Changelog from here forward will only include major dependency updates. diff --git a/Makefile b/Makefile index 5ed3953..be78ced 100644 --- a/Makefile +++ b/Makefile @@ -6,6 +6,12 @@ install: tools: internal/tools/*.go go generate --tags tools ./internal/tools +buf-login: + buf registry login buf.build + +buf-push: + buf push + go_module = $(shell go list -m) proto_files = $(sort $(shell find . -name '*.proto')) proto_includes = \ diff --git a/buf.lock b/buf.lock new file mode 100644 index 0000000..c6fe643 --- /dev/null +++ b/buf.lock @@ -0,0 +1,6 @@ +# Generated by buf. DO NOT EDIT. +version: v2 +deps: + - name: buf.build/envoyproxy/protoc-gen-validate + commit: daf171c6cdb54629b5f51e345a79e4dd + digest: b5:c745e1521879f43740230b1df673d0729f55704efefdcfc489d4a0a2d40c92a26cacfeab62813403040a8b180142d53b398c7ca784a065e43823605ee49681de diff --git a/buf.yaml b/buf.yaml new file mode 100644 index 0000000..f84e62b --- /dev/null +++ b/buf.yaml @@ -0,0 +1,6 @@ +version: v2 +modules: + - path: . + name: buf.build/alta/protopatch +deps: + - buf.build/envoyproxy/protoc-gen-validate