Skip to content

Commit

Permalink
fix: Add the GOPATH to the go-to-protobuf command (argoproj#3022)
Browse files Browse the repository at this point in the history
Add the GOPATH to the go-to-protobuf command

Signed-off-by: mitchell amihod <[email protected]>
Signed-off-by: Philip Clark <[email protected]>
  • Loading branch information
meeech authored and phclark committed Oct 13, 2023
1 parent 95cc198 commit 4129d8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ gen-proto: k8s-proto api-proto ui-proto
# generates the .proto files affected by changes to types.go
.PHONY: k8s-proto
k8s-proto: go-mod-vendor $(TYPES) ## generate kubernetes protobuf files
PATH=${DIST_DIR}:$$PATH go-to-protobuf \
PATH=${DIST_DIR}:$$PATH GOPATH=${GOPATH} go-to-protobuf \
--go-header-file=./hack/custom-boilerplate.go.txt \
--packages=github.com/argoproj/argo-rollouts/pkg/apis/rollouts/v1alpha1 \
--apimachinery-packages=${APIMACHINERY_PKGS} \
Expand Down

0 comments on commit 4129d8e

Please sign in to comment.