Skip to content

Commit 6553fb5

Browse files
committed
chore: apply tmpl changes
1 parent 6875dfb commit 6553fb5

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

_building/publish.sh

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
#!/bin/sh
2+
3+
pip install setuptools wheel twine
4+
5+
pwd="$(pwd)"
6+
name="${pwd##*/}"
7+
pip uninstall -y $name
8+
9+
cp setup.py ..
10+
(
11+
cd ..
12+
13+
python setup.py sdist bdist_wheel
14+
15+
pip install dist/*.tar.gz
16+
python -c 'import '${GITHUB_REPOSITORY#*/}
17+
18+
twine upload dist/*
19+
)

0 commit comments

Comments
 (0)