Skip to content

Commit

Permalink
fix version in release branch
Browse files Browse the repository at this point in the history
  • Loading branch information
soumith committed May 22, 2019
1 parent 14b1bc9 commit 11da8e8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')

Expand All @@ -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))


Expand Down

0 comments on commit 11da8e8

Please sign in to comment.