Skip to content

Commit

Permalink
Add release script
Browse files Browse the repository at this point in the history
  • Loading branch information
wallento committed Jun 1, 2017
1 parent cf47156 commit 09aed94
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions release.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/bash

if [ $# -lt 1 ]; then
echo "Usage: release.sh <version>"
exit 1
fi

rm -rf dist/
git tag $1
git push origin $1

python setup.py sdist bdist_wheel --universal
twine upload dist/*

0 comments on commit 09aed94

Please sign in to comment.