From d4de14bea80aec8b2d826ac5d491999e327ed21e Mon Sep 17 00:00:00 2001 From: Ryuichi Yamamoto Date: Sat, 27 Oct 2018 16:05:37 +0900 Subject: [PATCH] prepare for release --- release.sh | 4 ++-- setup.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/release.sh b/release.sh index 6129bae2..1bedfbfd 100755 --- a/release.sh +++ b/release.sh @@ -16,7 +16,7 @@ VERSION=${TAG/v/} DEEPVOICE3_PYTORCH_BUILD_VERSION=$VERSION python setup.py develop sdist echo "*** Ready to release! deepvoice3_pytorch $TAG ***" -echo "Please run the following command manually:" -echo DEEPVOICE3_PYTORCH_BUILD_VERSION=$VERSION python setup.py sdist upload echo "Please make sure that release verion is correct." cat deepvoice3_pytorch/version.py +echo "Please run the following command manually:" +echo twine upload dist/deepvoice3_pytorch-${VERSION}.tar.gz --repository-url https://upload.pypi.org/legacy/ diff --git a/setup.py b/setup.py index 0d5c794a..35db6adc 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ import subprocess from os.path import exists -version = '0.0.6' +version = '0.1.0' # Adapted from https://github.com/pytorch/pytorch cwd = os.path.dirname(os.path.abspath(__file__))