From 37415557b5a38151a5de142c264a921f8d81ae5a Mon Sep 17 00:00:00 2001 From: Hemna Date: Mon, 16 Sep 2024 11:31:29 -0400 Subject: [PATCH] Updated Makefile to build Changelog this patch updates the way we build the changelog to use the npm auto-changelog --- Makefile | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 68d9216..5cc3d45 100644 --- a/Makefile +++ b/Makefile @@ -22,9 +22,14 @@ dev: venv ## Create a python virtual environment for development of aprsd run: venv ## Create a virtual environment for running aprsd commands -docs: dev +changelog: dev + npm i -g auto-changelog + auto-changelog -l 50 -o ChangeLog.md + +docs: changelog + m2r --overwrite ChangeLog.md cp README.rst docs/readme.rst - cp Changelog docs/changelog.rst + mv ChangeLog.rst docs/changelog.rst tox -edocs clean: clean-build clean-pyc clean-test clean-dev ## remove all build, test, coverage and Python artifacts @@ -54,7 +59,7 @@ clean-dev: test: dev ## Run all the tox tests tox -p all -build: test ## Make the build artifact prior to doing an upload +build: test changelog ## Make the build artifact prior to doing an upload $(VENV)/pip install twine $(VENV)/python3 -m build $(VENV)/twine check dist/*