build: skip --note flag in gitea-release when NOTES is empty

This commit is contained in:
2026-03-11 18:30:29 -04:00
parent 9ec1301317
commit ca891fc6c0

View File

@@ -38,7 +38,7 @@ gitea-release:
tea release create \ tea release create \
--tag $(VERSION) \ --tag $(VERSION) \
--title "$(VERSION)" \ --title "$(VERSION)" \
--note $(NOTES) \ $(if $(NOTES),--note $(NOTES),) \
--asset $(BUILD_DIR)/$(BIN)-windows-amd64.exe \ --asset $(BUILD_DIR)/$(BIN)-windows-amd64.exe \
--asset $(BUILD_DIR)/$(BIN)-linux-amd64 \ --asset $(BUILD_DIR)/$(BIN)-linux-amd64 \
--asset $(BUILD_DIR)/$(BIN)-linux-arm64 \ --asset $(BUILD_DIR)/$(BIN)-linux-arm64 \