Skip to content

Commit

Permalink
Remove go get in favour of go install
Browse files Browse the repository at this point in the history
The use of go get to build and install packages has been removed in the latest version of Go.
It was already deprecated in go 1.16.0
  • Loading branch information
khrm authored and tekton-robot committed Mar 22, 2022
1 parent 11e719f commit b519753
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 @@ -24,7 +24,7 @@ $(BIN):
@mkdir -p $@
$(BIN)/%: | $(BIN) ; $(info $(M) building $(PACKAGE)…)
$Q tmp=$$(mktemp -d); cd $$tmp; \
env GO111MODULE=on GOPATH=$$tmp GOBIN=$(BIN) $(GO) get $(PACKAGE) \
env GO111MODULE=on GOPATH=$$tmp GOBIN=$(BIN) $(GO) install $(PACKAGE) \
|| ret=$$?; \
env GO111MODULE=on GOPATH=$$tmp GOBIN=$(BIN) $(GO) clean -modcache \
|| ret=$$?; \
Expand Down

0 comments on commit b519753

Please sign in to comment.