Skip to content
Snippets Groups Projects
changelog.mk 770 B
#############################################################################################
#############################################################################################
##
## CHANGELOG
##
#############################################################################################
#############################################################################################


GIT_CHGLOG_BIN := $(shell command -v git-chglog 2> /dev/null)

ifeq ($(GO),)
  $(error $(ERRORMARKER) GO is not defined)
endif

ifeq ($(GIT_CHGLOG_BIN),)
  $(shell $(GO) install github.com/git-chglog/git-chglog/cmd/git-chglog@latest)
endif     

## location of CHANGELOG.md file
CHANGELOG_FILE ?= $(PROJECT_ROOT)CHANGELOG.md
EXECUTABLES = $(EXECUTABLES:-) $(GIT_CHGLOG_BIN)