build: skip --note flag in gitea-release when NOTES is empty
This commit is contained in:
2
Makefile
2
Makefile
@@ -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 \
|
||||||
|
|||||||
Reference in New Issue
Block a user