From dac395ff7dfd5e4c8500524ca427f2273505776d Mon Sep 17 00:00:00 2001 From: Charles Larivier Date: Sun, 6 Feb 2022 22:13:34 -0500 Subject: [PATCH] feat(makefile): add make release command Signed-off-by: Charles Larivier --- Makefile | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Makefile b/Makefile index 60823de..86481d6 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,16 @@ dev: @pipenv install --dev --pre @pipenv run pre-commit install + +release: clear-builds build distribute + +clear-builds: + @rm -rf dist + +build: + @pipenv run python -m pip install --upgrade build + @pipenv run python -m build + +distribute: + @pipenv run python -m pip install --upgrade twine + @pipenv run python -m twine upload dist/*