Skip to content

Commit

Permalink
Merge pull request #3560 from embik/compile-release-tools-gopath
Browse files Browse the repository at this point in the history
Source `GOPATH` from `go env` in compile-release-tool script
  • Loading branch information
k8s-ci-robot authored Apr 7, 2024
2 parents 19b9eb8 + 0c16084 commit 2c1b581
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions compile-release-tools
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ setup_env() {
if [ -n "${GOBIN:-}" ]; then
export RELEASE_TOOL_BIN="${GOBIN}"
else
GOPATH=$(go env GOPATH)
export RELEASE_TOOL_BIN="${GOPATH}/bin"
fi
fi
Expand Down

0 comments on commit 2c1b581

Please sign in to comment.