From 5ace960da21956a607f8857fd4c567a4aeede0f6 Mon Sep 17 00:00:00 2001 From: William Petit Date: Thu, 24 Aug 2023 14:47:55 -0600 Subject: [PATCH] feat(changelog): allow override of command arguments --- tasks/changelog.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/changelog.mk b/tasks/changelog.mk index 12182f2..2433480 100644 --- a/tasks/changelog.mk +++ b/tasks/changelog.mk @@ -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"