feat(gitea): allow passing multiline body/attachments variables
Cadoles/mktools/pipeline/head This commit looks good
Details
Cadoles/mktools/pipeline/head This commit looks good
Details
This commit is contained in:
parent
5028cd0b8c
commit
f4153916e5
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue