mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-08-21 11:20:03 +08:00
18 lines
262 B
Bash
18 lines
262 B
Bash
#!/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
|
|
|