Skip to content

Commit 7486c87

Browse files
authored
Merge pull request #3128 from sanposhiho/patch-1
hack/verify-toc.sh: Use `go install` instead of `go get`
2 parents 35bf13f + 4a97b61 commit 7486c87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hack/verify-toc.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ trap exitHandler EXIT
3838
# perform go get in a temp dir as we are not tracking this version in a go module
3939
# if we do the go get in the repo, it will create / update a go.mod and go.sum
4040
cd "${TMP_DIR}"
41-
GO111MODULE=on GOBIN="${TMP_DIR}" go get "sigs.k8s.io/mdtoc@${TOOL_VERSION}"
41+
GO111MODULE=on GOBIN="${TMP_DIR}" go install "sigs.k8s.io/mdtoc@${TOOL_VERSION}"
4242
export PATH="${TMP_DIR}:${PATH}"
4343
cd "${ROOT}"
4444

0 commit comments

Comments
 (0)