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:
parent
72db01ff78
commit
1affeaa093
14
Makefile
14
Makefile
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user