Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion hack/generate-release-note.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,10 @@ OUTPUT=${2:-release-notes.md}
UPDATE_SITE=${3:-false}

install_cli() {
export PATH="$(go env GOPATH)/bin:${PATH}"
if ! [[ -x "$(command -v release-notes)" ]]; then
echo "CLI release-notes not found, installing..."
GO111MODULE=on go install k8s.io/release/cmd/release-notes@latest
GO111MODULE=on go install k8s.io/release/cmd/release-notes@v0.21.1
else
echo "CLI release-notes found, skip installing. If you want to upgrade, run 'GO111MODULE=on go install k8s.io/release/cmd/release-notes@latest'"
fi
Expand Down
Loading