From 511e7951c83c32b244a392784913a89b396e00f4 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Tue, 9 Jul 2013 17:56:11 +0200 Subject: [PATCH] do pypi release only once Signed-off-by: Nico Schottelius --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5d5e8157..e6a9547e 100644 --- a/Makefile +++ b/Makefile @@ -210,8 +210,13 @@ git-release: git-tag git-branch-merge ################################################################################ # pypi # -pypi-release: man $(VERSION_FILE) git-tag +PYPI_FILE=.lock-pypi + +pypi-release: $(PYPI_FILE) + +$(PYPI_FILE): man $(VERSION_FILE) git-tag python3 setup.py sdist upload + touch $@ ################################################################################ # archlinux