Skip to content

Commit

Permalink
Update all instances of 1.4.0 -> 1.5.0 (pytorch#31785)
Browse files Browse the repository at this point in the history
Summary:
Done with:

```
❯ sed -i 's/1\.4\.0/1.5.0/g' $(find -type f -not -path "./third_party/*")
```

This was previously done in separate commits, but it would be beneficial to bump all included projects within this repository at the same time.

Old bumps for reference:
* [iOS]Update Cocoapods to 1.4.0: pytorch#30326
* [android] Change nightly builds version to 1.4.0-SNAPSHOT: pytorch#27381
* Roll master to 1.4.0: pytorch#27374

Signed-off-by: Eli Uriegas <[email protected]>
Pull Request resolved: pytorch#31785

Differential Revision: D19277925

Pulled By: seemethere

fbshipit-source-id: f72ad082f0566004858c9374879f4b1bee169f9c
  • Loading branch information
seemethere authored and facebook-github-bot committed Jan 7, 2020
1 parent 985fd97 commit 346a349
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions .circleci/scripts/binary_populate_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ fi
# We put this here so that OVERRIDE_PACKAGE_VERSION below can read from it
export DATE="$(date -u +%Y%m%d)"
if [[ "$(uname)" == 'Darwin' ]] || [[ "$DESIRED_CUDA" == "cu101" ]] || [[ "$PACKAGE_TYPE" == conda ]]; then
export PYTORCH_BUILD_VERSION="1.4.0.dev$DATE"
export PYTORCH_BUILD_VERSION="1.5.0.dev$DATE"
else
export PYTORCH_BUILD_VERSION="1.4.0.dev$DATE+$DESIRED_CUDA"
export PYTORCH_BUILD_VERSION="1.5.0.dev$DATE+$DESIRED_CUDA"
fi
export PYTORCH_BUILD_NUMBER=1

Expand Down Expand Up @@ -96,7 +96,7 @@ export BUILD_PYTHONLESS="${BUILD_PYTHONLESS:-}"
export DESIRED_DEVTOOLSET="$DESIRED_DEVTOOLSET"
export DATE="$DATE"
export NIGHTLIES_DATE_PREAMBLE=1.4.0.dev
export NIGHTLIES_DATE_PREAMBLE=1.5.0.dev
export PYTORCH_BUILD_VERSION="$PYTORCH_BUILD_VERSION"
export PYTORCH_BUILD_NUMBER="$PYTORCH_BUILD_NUMBER"
export OVERRIDE_PACKAGE_VERSION="$PYTORCH_BUILD_VERSION"
Expand Down
6 changes: 3 additions & 3 deletions android/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ repositories {
dependencies {
...
implementation 'org.pytorch:pytorch_android:1.4.0-SNAPSHOT'
implementation 'org.pytorch:pytorch_android_torchvision:1.4.0-SNAPSHOT'
implementation 'org.pytorch:pytorch_android:1.5.0-SNAPSHOT'
implementation 'org.pytorch:pytorch_android_torchvision: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.4.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`.

## Building PyTorch Android from Source

Expand Down
2 changes: 1 addition & 1 deletion android/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ABI_FILTERS=armeabi-v7a,arm64-v8a,x86,x86_64

VERSION_NAME=1.4.0-SNAPSHOT
VERSION_NAME=1.5.0-SNAPSHOT
GROUP=org.pytorch
MAVEN_GROUP=org.pytorch
POM_URL=https://github.com/pytorch/pytorch/tree/master/android
Expand Down
4 changes: 2 additions & 2 deletions android/test_app/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ dependencies {

localImplementation project(':pytorch_android')
localImplementation project(':pytorch_android_torchvision')
nightlyImplementation 'org.pytorch:pytorch_android:1.4.0-SNAPSHOT'
nightlyImplementation 'org.pytorch:pytorch_android_torchvision:1.4.0-SNAPSHOT'
nightlyImplementation 'org.pytorch:pytorch_android:1.5.0-SNAPSHOT'
nightlyImplementation 'org.pytorch:pytorch_android_torchvision:1.5.0-SNAPSHOT'

def camerax_version = "1.0.0-alpha05"
cameraImplementation "androidx.camera:camera-core:$camerax_version"
Expand Down
2 changes: 1 addition & 1 deletion ios/LibTorch.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'LibTorch'
s.version = '1.4.0'
s.version = '1.5.0'
s.authors = 'PyTorch Team'
s.license = { :type => 'BSD' }
s.homepage = 'https://github.com/pytorch/pytorch'
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.4.0a0
1.5.0a0

0 comments on commit 346a349

Please sign in to comment.