Streamlined release process slightly

pull/348/head
Ashley Whetter 2 years ago
parent deb6944644
commit 991ac220fd

@ -25,8 +25,7 @@ Release
.. code-block:: bash
git clean -fdx
python setup.py sdist bdist_wheel
twine upload dist/*
git clean -idx
tox -e release
git tag vX.X.X
git push --tags

@ -37,3 +37,13 @@ extras =
changedir = {toxinidir}/docs
commands =
sphinx-build -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
[testenv:release]
skip_install = true
deps =
build
twine
commands =
python -c "import shutil, os; os.path.isdir('dist') and shutil.rmtree('dist')"
python -m build
twine upload dist/*

Loading…
Cancel
Save