Skip to content

Commit da9b52e

Browse files
committed
Preparing builds
1 parent 8d5e86a commit da9b52e

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.circleci/config.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ binary_common: &binary_common
3737
build_version:
3838
description: "version number of release binary; by default, build a nightly"
3939
type: string
40-
default: ""
40+
default: "0.5.0"
4141
pytorch_version:
4242
description: "PyTorch version to build against; by default, use a nightly"
4343
type: string
44-
default: ""
44+
default: "1.4.0"
4545
# Don't edit these
4646
python_version:
4747
description: "Python version to build against (e.g., 3.7)"

.circleci/config.yml.in

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ binary_common: &binary_common
3737
build_version:
3838
description: "version number of release binary; by default, build a nightly"
3939
type: string
40-
default: ""
40+
default: "0.5.0"
4141
pytorch_version:
4242
description: "PyTorch version to build against; by default, use a nightly"
4343
type: string
44-
default: ""
44+
default: "1.4.0"
4545
# Don't edit these
4646
python_version:
4747
description: "Python version to build against (e.g., 3.7)"

setup.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def get_dist(pkgname):
3030
return None
3131

3232

33-
version = '0.5.0a0'
33+
version = '0.5.0'
3434
sha = 'Unknown'
3535
package_name = 'torchvision'
3636

@@ -43,8 +43,8 @@ def get_dist(pkgname):
4343

4444
if os.getenv('BUILD_VERSION'):
4545
version = os.getenv('BUILD_VERSION')
46-
elif sha != 'Unknown':
47-
version += '+' + sha[:7]
46+
# elif sha != 'Unknown':
47+
# version += '+' + sha[:7]
4848
print("Building wheel {}-{}".format(package_name, version))
4949

5050

0 commit comments

Comments
 (0)