Skip to content

Commit 9440b89

Browse files
author
Steven Silvester
committed
add a release script
1 parent 703a711 commit 9440b89

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

RELEASE.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
2+
To create a release, run the following:
3+
4+
```
5+
git clean -dfx
6+
python setup.py sdist
7+
python setup.py bdist_wheel
8+
script_version=`python setup.py --version 2>/dev/null`
9+
git commit -a -m "Release $script_version"
10+
git tag $script_version
11+
git push --all
12+
git push --tags
13+
pip install twine
14+
twine check dist/*
15+
twine upload dist/*
16+
```

0 commit comments

Comments
 (0)