Skip to content

Commit c272647

Browse files
authored
Merge pull request #2673 from camilamacedo86/temp-fix-release
🌱 Ignore release notes in the release to fix it
2 parents 3f8cb02 + 6f56a8e commit c272647

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

build/build_kubebuilder.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,10 @@ if [ -z "$SNAPSHOT" ]; then
9090
[[ "${TAG_NAME}" == "v"*"-beta."* ]] && NOTES_FLAGS+=" -r beta"
9191
[[ "${TAG_NAME}" == "v"*"-rc."* ]] && NOTES_FLAGS+=" -r rc"
9292
fi
93-
notes $NOTES_FLAGS | tee "$tmp_notes"
93+
# TODO(cmacedo): figure out how to download the release notes and let it available in the cloud build
94+
# Currently it does not work: https://github.com/kubernetes-sigs/kubebuilder/issues/2667
95+
# notes $NOTES_FLAGS | tee "$tmp_notes"
96+
notes="Mock Release Notes for $(git describe --tags --always --broken)"
9497
# we need to delete the tag for the release notes script, so restore it when done so that
9598
# go releaser can find the right tag
9699
if [[ -n "${TAG_NAME}" ]]; then

0 commit comments

Comments
 (0)