Skip to content

Commit deb3bf6

Browse files
committed
Download release notes tool binary directly
We now directly download the binary instead of using `go install`, which should speed-up the CI. Signed-off-by: Sascha Grunert <[email protected]>
1 parent 47fc009 commit deb3bf6

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

hack/release-notes.sh

+7-2
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,14 @@
1616

1717
set -euo pipefail
1818

19-
go install k8s.io/release/cmd/release-notes@latest
19+
BINARY=./build/release-notes
20+
VERSION=v0.15.1
2021

21-
release-notes \
22+
curl -sSfL -o $BINARY \
23+
https://github.com/kubernetes/release/releases/download/$VERSION/release-notes-linux-amd64
24+
chmod +x $BINARY
25+
26+
$BINARY \
2227
--discover minor-to-minor \
2328
--org kubernetes-sigs \
2429
--repo cri-tools \

0 commit comments

Comments
 (0)