Skip to content

Commit 6573ea7

Browse files
authored
Release version update fix (#500)
* Apply updated versions to skipped samples and README on release
1 parent 7de1644 commit 6573ea7

File tree

5 files changed

+12
-10
lines changed

5 files changed

+12
-10
lines changed

documents/ANDROID.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ NOTE: The shadow sample does not currently complete on android due to its depend
4747
mkdir sdk-workspace
4848
cd sdk-workspace
4949
# Clone the SDK repository
50-
# (Use the latest version of the SDK here instead of `v1.17.2`)
51-
git clone --branch v1.17.2 --recurse-submodules https://github.com/aws/aws-iot-device-sdk-java-v2.git
50+
# (Use the latest version of the SDK here instead of `v1.17.3`)
51+
git clone --branch v1.17.3 --recurse-submodules https://github.com/aws/aws-iot-device-sdk-java-v2.git
5252
# Compile and install the SDK for Android
5353
cd aws-iot-device-sdk-java-v2/android
5454
./gradlew build
@@ -69,10 +69,10 @@ repositories {
6969
}
7070
7171
dependencies {
72-
api 'software.amazon.awssdk.iotdevicesdk:aws-iot-device-sdk-android:1.17.2'
72+
api 'software.amazon.awssdk.iotdevicesdk:aws-iot-device-sdk-android:1.17.3'
7373
}
7474
```
75-
Replace `1.17.2` in `software.amazon.awssdk.iotdevicesdk:aws-iot-device-sdk-android:1.17.2` with the latest release version for the SDK.
75+
Replace `1.17.3` in `software.amazon.awssdk.iotdevicesdk:aws-iot-device-sdk-android:1.17.3` with the latest release version for the SDK.
7676
Look up the latest SDK version here: https://github.com/aws/aws-iot-device-sdk-java-v2/releases
7777

7878
### Consuming from locally installed
@@ -84,10 +84,10 @@ repositories {
8484
}
8585
8686
dependencies {
87-
api 'software.amazon.awssdk.iotdevicesdk:aws-iot-device-sdk-android:1.17.2'
87+
api 'software.amazon.awssdk.iotdevicesdk:aws-iot-device-sdk-android:1.17.3'
8888
}
8989
```
90-
Replace `1.17.2` in `software.amazon.awssdk.iotdevicesdk:aws-iot-device-sdk-android:1.17.2` with the latest release version for the SDK
90+
Replace `1.17.3` in `software.amazon.awssdk.iotdevicesdk:aws-iot-device-sdk-android:1.17.3` with the latest release version for the SDK
9191
or replace with `1.0.0-SNAPSHOT` to use the SDK built and installed from source.
9292
Look up the latest SDK version here: https://github.com/aws/aws-iot-device-sdk-java-v2/releases
9393

samples/Android/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ android {
6161

6262
dependencies {
6363
implementation fileTree(dir: 'libs', include: ['*.jar'])
64-
api 'software.amazon.awssdk.iotdevicesdk:aws-iot-device-sdk-android:1.17.2'
64+
api 'software.amazon.awssdk.iotdevicesdk:aws-iot-device-sdk-android:1.17.3'
6565
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
6666
implementation 'androidx.appcompat:appcompat:1.1.0'
6767
implementation 'androidx.core:core:1.2.0'

samples/Mqtt5/PubSub/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<dependency>
2828
<groupId>software.amazon.awssdk.iotdevicesdk</groupId>
2929
<artifactId>aws-iot-device-sdk</artifactId>
30-
<version>1.17.2</version>
30+
<version>1.17.3</version>
3131
</dependency>
3232
</dependencies>
3333
</profile>

samples/Mqtt5/SharedSubscription/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<dependency>
2828
<groupId>software.amazon.awssdk.iotdevicesdk</groupId>
2929
<artifactId>aws-iot-device-sdk</artifactId>
30-
<version>1.17.2</version>
30+
<version>1.17.3</version>
3131
</dependency>
3232
</dependencies>
3333
</profile>

utils/publish-release.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,11 @@ sed -i -r "s/.*Latest released version:.*/Latest released version: v${new_versio
5959
# Not sure how to do this better, so just add each file individually
6060
git add sdk/pom.xml
6161
git add README.md
62+
git add documents/ANDROID.md
6263
git add android/iotdevicesdk/build.gradle
64+
git add samples/Android/app/build.gradle
6365
# Add all the sample pom files
64-
find . -name "pom.xml" -maxdepth 3 -mindepth 3 -exec git add {} +
66+
find . -name "pom.xml" -maxdepth 4 -mindepth 3 -exec git add {} +
6567
# go back to the utils folder
6668
cd utils
6769

0 commit comments

Comments
 (0)