Skip to content

Commit d0e5acc

Browse files
committed
Update publish.sh
1 parent 6f08b48 commit d0e5acc

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

publish.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
#!/usr/bin/env bash
22

3+
# tag the release version and confirm a clean version number
4+
git tag vxxxx
5+
git describe --tag --dirty --always
6+
37
set -e
48

59
rm -rf dist
6-
python3 setup.py sdist
7-
python3 setup.py bdist_wheel
10+
python setup.py sdist bdist_wheel
811
twine upload dist/*

0 commit comments

Comments
 (0)