From 44d3e64d5683bbfbc9dfe2d519f003fbc3caf591 Mon Sep 17 00:00:00 2001 From: David Larlet Date: Sat, 17 Jun 2023 09:50:36 -0400 Subject: [PATCH] Add a publish command to the Makefile --- Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index ebea95cf..8371fba9 100644 --- a/Makefile +++ b/Makefile @@ -28,14 +28,14 @@ docker: ## Create a new Docker image and publish it build: test compilemessages ## Build the Python package before release @hatch build +.PHONY: publish +publish: ## Publish the Python package to Pypi + @hatch publish + make clean + test: py.test -xv umap/tests/ -test_publish: - twine upload -r testpypi dist/* -publish: - twine upload dist/* - make clean clean: rm -f dist/* rm -rf build/*