From 6701f700f2995e0f96a4d76ff50031ae7e55752b Mon Sep 17 00:00:00 2001 From: "Michael D. Hoyle" Date: Thu, 2 Aug 2018 10:51:47 -0400 Subject: [PATCH] separate release into build and release steps (#858) Also add the -f tag to the cleanup bit so it doesn't bail when `dist/` is missing --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index ba2325e645..7d04a93a31 100644 --- a/Makefile +++ b/Makefile @@ -4,8 +4,11 @@ coverage: test: tox -release: - rm dist/* && python setup.py sdist && twine upload dist/* +build: + rm -f dist/* && python setup.py sdist + +release: build + twine upload dist/* build_docs: sphinx-build -b html docs/ docs/_build/