Skip to content

Commit dbfd421

Browse files
committed
update HOWTOPUBLISH instructions
1 parent da896a8 commit dbfd421

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

HOWTOPUBLISH

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
11
# update contributors and CHANGELOG in README
2+
python -m pre_commit run -a # and then commit changes
3+
tox -e py39-extra,py310-extra,py311-extra,py312-extra,py313-extra
24
# tag version release
3-
python3 benchmark.py # then update README
4-
tox -e py38-extra,py39-extra,py310-extra,py311-extra,py312-extra
5-
python3 -m build -nswx .
5+
python -m build -s # this will update tabulate/version.py
6+
python -m pip install . # install tabulate in the current venv
7+
python -m pip install -r benchmark/requirements.txt
8+
python benchmark/benchmark.py # then update README
9+
# move tag to the last commit
10+
python -m build -s # update tabulate/version.py
11+
python -m build -nswx .
12+
git push # wait for all CI builds to succeed
613
twine upload --repository-url https://test.pypi.org/legacy/ dist/*
714
twine upload dist/*

0 commit comments

Comments
 (0)