Skip to content

Commit 5a567a9

Browse files
committed
Fix release note generation
There has been some changes upstream that we need to adapt to. With this we explicitly set the release tag, disable area prefix and kubernetes support notes. Signed-off-by: Lennart Jern <[email protected]>
1 parent 23cbd9e commit 5a567a9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,9 @@ generate-release-notes: $(RELEASE_NOTES_DIR) $(RELEASE_NOTES)
477477
if [ -n "${PRE_RELEASE}" ]; then \
478478
echo -e ":rotating_light: This is a RELEASE CANDIDATE. Use it only for testing purposes. If you find any bugs, file an [issue](https://github.com/kubernetes-sigs/cluster-api-provider-openstack/issues/new/choose).\n" >> $(RELEASE_NOTES_DIR)/$(RELEASE_TAG).md; \
479479
fi
480-
"$(RELEASE_NOTES)" --from=$(PREVIOUS_TAG) >> $(RELEASE_NOTES_DIR)/$(RELEASE_TAG).md
480+
"$(RELEASE_NOTES)" --repository=kubernetes-sigs/cluster-api-provider-openstack \
481+
--prefix-area-label=false --add-kubernetes-version-support=false \
482+
--from=$(PREVIOUS_TAG) --release=$(RELEASE_TAG) >> $(RELEASE_NOTES_DIR)/$(RELEASE_TAG).md
481483

482484
.PHONY: templates
483485
templates: ## Generate cluster templates

0 commit comments

Comments
 (0)