Skip to content

Commit fa474e8

Browse files
committed
chore(make): specify gnmi target version
1 parent f956b42 commit fa474e8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ PROJECT_ROOT ?= gnmi/proto
22
PROTO_PACKAGE ?= github.com/openconfig/gnmi/proto
33
PROTOS ?= gnmi_ext/gnmi_ext gnmi/gnmi collector/collector \
44
target/target
5+
GNMI_TARGET_VERSION ?= latest
56

67
include Makefile.in
78

@@ -11,7 +12,7 @@ include Makefile.in
1112
tests/integration/deps:
1213
$(call command_check,go)
1314
@{ type gnmi_target > /dev/null 2>&1 \
14-
|| go install -v github.com/google/gnxi/gnmi_target; \
15+
|| go install -v github.com/google/gnxi/gnmi_target@$(GNMI_TARGET_VERSION); \
1516
}
1617

1718
### tests

0 commit comments

Comments
 (0)