Skip to content
This repository was archived by the owner on Feb 20, 2026. It is now read-only.

Commit 4090dd7

Browse files
committed
Fix publication script
1 parent ad5700d commit 4090dd7

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

publish.sh

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,15 @@
33
set -x
44
set -e
55

6+
# Build and upload doc
7+
poetry run phinx-build -W docs docs/_build/html/
8+
poetry run ghp-import \
9+
--push \
10+
--force \
11+
--no-jekyll \
12+
docs/_build/htmtl \
13+
14+
# Build and upload source and wheel on pypi.org
615
rm -fr dist/
7-
python setup.py sdist bdist_wheel
8-
twine upload dist/*
16+
poetry build
17+
poetry publish

0 commit comments

Comments
 (0)