feat(changelog): allow override of command arguments
Cadoles/mktools/pipeline/head This commit looks good
Details
Cadoles/mktools/pipeline/head This commit looks good
Details
This commit is contained in:
parent
5abe33e487
commit
5ace960da2
|
@ -1,6 +1,6 @@
|
|||
MKT_GIT_CHGLOG_VERSION ?= 0.15.4
|
||||
MKT_GIT_CHGLOG_DOWNLOAD_URL ?= https://github.com/git-chglog/git-chglog/releases/download/v$(MKT_GIT_CHGLOG_VERSION)/git-chglog_$(MKT_GIT_CHGLOG_VERSION)_linux_amd64.tar.gz
|
||||
MKT_GIT_CHGLOG_ARGS ?=
|
||||
MKT_GIT_CHGLOG_ARGS ?= --output CHANGELOG.md
|
||||
MKT_GIT_CHGLOG_PROJECT_ORG ?=
|
||||
export MKT_GIT_CHGLOG_PROJECT_ORG
|
||||
MKT_GIT_CHGLOG_PROJECT_NAME ?=
|
||||
|
@ -96,7 +96,7 @@ endef
|
|||
export MKT_GIT_CHGLOG_TEMPLATE_SCRIPT = $(value _MKT_GIT_CHGLOG_TEMPLATE_SCRIPT)
|
||||
|
||||
mkt-changelog: tools/git-chglog/bin/git-chglog .chglog/config.yml .chglog/CHANGELOG.tpl.md
|
||||
tools/git-chglog/bin/git-chglog --output CHANGELOG.md $(MKT_GIT_CHGLOG_ARGS)
|
||||
tools/git-chglog/bin/git-chglog $(MKT_GIT_CHGLOG_ARGS)
|
||||
|
||||
.chglog/config.yml:
|
||||
@eval "$$MKT_GIT_CHGLOG_CONFIG_SCRIPT"
|
||||
|
|
Loading…
Reference in New Issue