Skip to content

Commit a2d10ac

Browse files
committed
install-dev-tools: use go install, and pin by version
the github.com/stevvooe/[email protected] module was renamed to github.com/containerd/protobuild, but go modules ignores the rename and pulls v0.2.0 (which is after the rename) Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent 86bec21 commit a2d10ac

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

script/setup/install-dev-tools

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,12 @@ cd "$GOPATH"
2525

2626
# install the `protobuild` binary in $GOPATH/bin; requires module-aware install
2727
# to pin dependencies
28-
GO111MODULE=on go get github.com/stevvooe/protobuild
28+
GO111MODULE=on go install github.com/stevvooe/[email protected]
29+
GO111MODULE=on go install github.com/cpuguy83/go-md2man/[email protected]
30+
GO111MODULE=on go install github.com/golangci/golangci-lint/cmd/[email protected]
2931

3032
# the following packages need to exist in $GOPATH so we can't use
3133
# go modules-aware mode of `go get` for these includes used during
3234
# proto building
3335
GO111MODULE=off go get -d github.com/gogo/googleapis || true
3436
GO111MODULE=off go get -d github.com/gogo/protobuf || true
35-
36-
GO111MODULE=on go get github.com/cpuguy83/go-md2man/[email protected]
37-
GO111MODULE=on go get github.com/golangci/golangci-lint/cmd/[email protected]

0 commit comments

Comments
 (0)