diff --git a/tasks/gitea.mk b/tasks/gitea.mk index c942e91..d6717ad 100644 --- a/tasks/gitea.mk +++ b/tasks/gitea.mk @@ -9,6 +9,16 @@ MKT_GITEA_RELEASE_ATTACHMENTS ?= MKT_GITEA_RELEASE_USERNAME ?= MKT_GITEA_RELEASE_PASSWORD ?= +define GITEA_RELEASE_BODY +$(MKT_GITEA_RELEASE_BODY) +endef +export GITEA_RELEASE_BODY + +define GITEA_RELEASE_ATTACHMENTS +$(MKT_GITEA_RELEASE_ATTACHMENTS) +endef +export GITEA_RELEASE_ATTACHMENTS + mkt-gitea-release: tools/gitea-release/bin/gitea-release.sh GITEA_RELEASE_PROJECT="$(MKT_GITEA_RELEASE_PROJECT)" \ GITEA_RELEASE_ORG="$(MKT_GITEA_RELEASE_ORG)" \ @@ -17,8 +27,6 @@ mkt-gitea-release: tools/gitea-release/bin/gitea-release.sh GITEA_RELEASE_NAME="$(MKT_GITEA_RELEASE_VERSION)" \ GITEA_RELEASE_COMMITISH_TARGET="$(MKT_GITEA_RELEASE_COMMIT_TARGET)" \ GITEA_RELEASE_IS_DRAFT="$(MKT_GITEA_RELEASE_IS_DRAFT)" \ - GITEA_RELEASE_BODY="$(MKT_GITEA_RELEASE_BODY)" \ - GITEA_RELEASE_ATTACHMENTS="$(MKT_GITEA_RELEASE_ATTACHMENTS)" \ GITEA_RELEASE_USERNAME="$(MKT_GITEA_RELEASE_USERNAME)" \ GITEA_RELEASE_PASSWORD="$(MKT_GITEA_RELEASE_PASSWORD)" \ tools/gitea-release/bin/gitea-release.sh