From 166fb7bbfcfe95aa25b66570dd38a134eb92b182 Mon Sep 17 00:00:00 2001 From: Ethan Paul <24588726+enpaul@users.noreply.github.com> Date: Thu, 24 Sep 2020 22:00:58 -0400 Subject: [PATCH] Add publish make target to automate upload --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index c654c01..3d66a2b 100644 --- a/Makefile +++ b/Makefile @@ -31,3 +31,6 @@ source: ## Build Python source distribution package test: ## Run the project testsuite(s) poetry run tox --recreate + +publish: wheel source ## Build and upload to pypi (requires $PYPI_API_KEY be set) + poetry publish --username __token__ --password $(PYPI_API_KEY)