From ca891fc6c0cdddbfcb5df720accdc99f1c45c407 Mon Sep 17 00:00:00 2001 From: Bryan Bailey Date: Wed, 11 Mar 2026 18:30:29 -0400 Subject: [PATCH] build: skip --note flag in gitea-release when NOTES is empty --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 86d9440..c113571 100644 --- a/Makefile +++ b/Makefile @@ -38,7 +38,7 @@ gitea-release: tea release create \ --tag $(VERSION) \ --title "$(VERSION)" \ - --note $(NOTES) \ + $(if $(NOTES),--note $(NOTES),) \ --asset $(BUILD_DIR)/$(BIN)-windows-amd64.exe \ --asset $(BUILD_DIR)/$(BIN)-linux-amd64 \ --asset $(BUILD_DIR)/$(BIN)-linux-arm64 \