Skip to content

Commit

Permalink
tox: Add 'release' target
Browse files Browse the repository at this point in the history
In case I forget how to do this in the future.

Signed-off-by: Stephen Finucane <[email protected]>
  • Loading branch information
stephenfin committed May 4, 2017
1 parent 522ab88 commit 2b0c700
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,11 @@ branch = True
[testenv:docs]
commands =
python setup.py build_sphinx

[testenv:release]
deps =
{[testenv]deps}
twine
commands =
python setup.py -q bdist_wheel sdist
twine upload --skip-existing {toxinidir}/dist/*

0 comments on commit 2b0c700

Please sign in to comment.