From 11da8e838a625dc98c9570cae7698798182881f8 Mon Sep 17 00:00:00 2001 From: Soumith Chintala Date: Wed, 22 May 2019 09:27:15 -0700 Subject: [PATCH] fix version in release branch --- setup.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/setup.py b/setup.py index a5dd6dc5e94..ca9ceb2fdf5 100644 --- a/setup.py +++ b/setup.py @@ -29,7 +29,7 @@ def get_dist(pkgname): return None -version = '0.3.0a0' +version = '0.3.0' sha = 'Unknown' package_name = os.getenv('TORCHVISION_PACKAGE_NAME', 'torchvision') @@ -46,8 +46,6 @@ def get_dist(pkgname): version = os.getenv('TORCHVISION_BUILD_VERSION') if build_number > 1: version += '.post' + str(build_number) -elif sha != 'Unknown': - version += '+' + sha[:7] print("Building wheel {}-{}".format(package_name, version))