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))