File tree Expand file tree Collapse file tree 2 files changed +23
-0
lines changed Expand file tree Collapse file tree 2 files changed +23
-0
lines changed Original file line number Diff line number Diff line change 1+ include README.md LICENSE.md
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ # Script for Pypi release
4+ # 0. Make sure you are on git tag
5+ # 1. Run the script
6+ # 2. Upload sdist
7+
8+ set -e
9+
10+ script_dir=$( cd $( dirname ${BASH_SOURCE:- $0 } ) ; pwd)
11+ cd $script_dir
12+
13+ TAG=$( git describe --exact-match --tags HEAD)
14+
15+ VERSION=${TAG/ v/ }
16+
17+ DEEPVOICE3_PYTORCH_BUILD_VERSION=$VERSION python setup.py develop sdist
18+ echo " *** Ready to release! deepvoice3_pytorch $TAG ***"
19+ echo " Please run the following command manually:"
20+ echo DEEPVOICE3_PYTORCH_BUILD_VERSION=$VERSION python setup.py sdist upload
21+ echo " Please make sure that release verion is correct."
22+ cat deepvoice3_pytorch/version.py
You can’t perform that action at this time.
0 commit comments