Skip to content

Commit

Permalink
separate release into build and release steps (#858)
Browse files Browse the repository at this point in the history
Also add the -f tag to the cleanup bit so it doesn't bail when `dist/`
is missing
  • Loading branch information
hoylemd authored and cgoldberg committed Aug 2, 2018
1 parent d53618b commit 6701f70
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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/

0 comments on commit 6701f70

Please sign in to comment.