Skip to content

Commit b7d7214

Browse files
authored
Merge pull request #260 from blink1073/release-script
Add a release script
2 parents 19e887c + 9440b89 commit b7d7214

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)