Bump base version to 1.6.0a0 (#35495)

Summary:
Since we've done the branch cut for 1.5.0 we should bump nightlies to 1.6.0

Signed-off-by: Eli Uriegas <eliuriegas@fb.com>
Pull Request resolved: https://github.com/pytorch/pytorch/pull/35495

Differential Revision: D20697043

Pulled By: seemethere

fbshipit-source-id: 3646187a5e729994138bf2c68625f25f11430b3a
This commit is contained in:
Eli Uriegas
2020-03-27 12:12:56 -07:00
committed by Facebook GitHub Bot
parent 9e22d15f14
commit ff71a4192d
6 changed files with 12 additions and 12 deletions

View File

@ -58,7 +58,7 @@ PIP_UPLOAD_FOLDER='nightly/'
# We put this here so that OVERRIDE_PACKAGE_VERSION below can read from it
export DATE="$(date -u +%Y%m%d)"
#TODO: We should be pulling semver version from the base version.txt
BASE_BUILD_VERSION="1.5.0.dev$DATE"
BASE_BUILD_VERSION="1.6.0.dev$DATE"
# Change BASE_BUILD_VERSION to git tag when on a git tag
# Use 'git -C' to make doubly sure we're in the correct directory for checking
# the git tag
@ -66,8 +66,8 @@ if tagged_version >/dev/null; then
# Switch upload folder to 'test/' if we are on a tag
PIP_UPLOAD_FOLDER='test/'
# Grab git tag, remove prefixed v and remove everything after -
# Used to clean up tags that are for release candidates like v1.5.0-rc1
# Turns tag v1.5.0-rc1 -> v1.5.0
# Used to clean up tags that are for release candidates like v1.6.0-rc1
# Turns tag v1.6.0-rc1 -> v1.6.0
BASE_BUILD_VERSION="$(tagged_version | sed -e 's/^v//' -e 's/-.*$//')"
fi
if [[ "$(uname)" == 'Darwin' ]] || [[ "$DESIRED_CUDA" == "cu101" ]] || [[ "$PACKAGE_TYPE" == conda ]]; then
@ -111,7 +111,7 @@ export BUILD_PYTHONLESS="${BUILD_PYTHONLESS:-}"
export DESIRED_DEVTOOLSET="$DESIRED_DEVTOOLSET"
export DATE="$DATE"
export NIGHTLIES_DATE_PREAMBLE=1.5.0.dev
export NIGHTLIES_DATE_PREAMBLE=1.6.0.dev
export PYTORCH_BUILD_VERSION="$PYTORCH_BUILD_VERSION"
export PYTORCH_BUILD_NUMBER="$PYTORCH_BUILD_NUMBER"
export OVERRIDE_PACKAGE_VERSION="$PYTORCH_BUILD_VERSION"

View File

@ -34,12 +34,12 @@ repositories {
dependencies {
...
implementation 'org.pytorch:pytorch_android:1.5.0-SNAPSHOT'
implementation 'org.pytorch:pytorch_android_torchvision:1.5.0-SNAPSHOT'
implementation 'org.pytorch:pytorch_android:1.6.0-SNAPSHOT'
implementation 'org.pytorch:pytorch_android_torchvision:1.6.0-SNAPSHOT'
...
}
```
The current nightly(snapshots) version is the value of `VERSION_NAME` in `gradle.properties` in current folder, at this moment it is `1.5.0-SNAPSHOT`.
The current nightly(snapshots) version is the value of `VERSION_NAME` in `gradle.properties` in current folder, at this moment it is `1.6.0-SNAPSHOT`.
## Building PyTorch Android from Source

View File

@ -1,6 +1,6 @@
ABI_FILTERS=armeabi-v7a,arm64-v8a,x86,x86_64
VERSION_NAME=1.5.0-SNAPSHOT
VERSION_NAME=1.6.0-SNAPSHOT
GROUP=org.pytorch
MAVEN_GROUP=org.pytorch
POM_URL=https://github.com/pytorch/pytorch/tree/master/android

View File

@ -92,8 +92,8 @@ dependencies {
localImplementation project(':pytorch_android')
localImplementation project(':pytorch_android_torchvision')
nightlyImplementation 'org.pytorch:pytorch_android:1.5.0-SNAPSHOT'
nightlyImplementation 'org.pytorch:pytorch_android_torchvision:1.5.0-SNAPSHOT'
nightlyImplementation 'org.pytorch:pytorch_android:1.6.0-SNAPSHOT'
nightlyImplementation 'org.pytorch:pytorch_android_torchvision:1.6.0-SNAPSHOT'
def camerax_version = "1.0.0-alpha05"
cameraImplementation "androidx.camera:camera-core:$camerax_version"

View File

@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'LibTorch'
s.version = '1.5.0'
s.version = '1.6.0'
s.authors = 'PyTorch Team'
s.license = { :type => 'BSD' }
s.homepage = 'https://github.com/pytorch/pytorch'

View File

@ -1 +1 @@
1.5.0a0
1.6.0a0