1
0
mirror of https://github.com/nikoksr/notify.git synced 2025-01-22 03:09:35 +02:00

build(make): add commands to generate changelogs

Added two Make commands.

changelog-latest: Outputs the latest tagged changes to stdout. Useful
                  for release bodies on GitHub.
changelog-file:   Overwrites the file CHANGELOG.md with git-cliff's
                  output resulting from running over the full git log.
This commit is contained in:
Niko Köser 2022-02-07 08:04:58 +01:00
parent 72db01ff78
commit 1affeaa093
No known key found for this signature in database
GPG Key ID: F3F28C118DAA6375

View File

@ -40,4 +40,18 @@ lint:
ci: lint test
.PHONY: ci
###############################################################################
# DEPENDENCIES
###############################################################################
changelog-latest:
@git cliff --config .cliff.toml --latest --strip header
.PHONY: changelog-latest
changelog-file:
@git cliff --config .cliff.toml --topo-order -o CHANGELOG.md
.PHONY: changelog-file
###############################################################################
.DEFAULT_GOAL := ci