lightning/update.sh

21 lines
265 B
Bash
Raw Normal View History

2019-03-31 19:26:23 +00:00
#!/bin/bash
version=$1
git commit -am "release v$version"
git tag $version -m "test_tube v$version"
git push --tags origin master
# push to pypi
rm -rf ./dist/*
python3 setup.py sdist
twine upload dist/*
# to update docs
# cd to root dir
# mkdocs gh-deploy