Skip to content

Commit b4973de

Browse files
authored
Versioning update fix (#484)
* running update-crt.py with a version wasn't using the version being provided * android sdk is now available in maven and README has been updated accordingly
1 parent ca64c27 commit b4973de

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

documents/ANDROID.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ cd aws-iot-device-sdk-java-v2/android
5959
## Consuming IoT Device SDK Android
6060

6161
### Consuming from Maven
62-
##### NOTE: aws-iot-device-sdk-android is not currently available in Maven but will be shortly. For now, please publish to maven locally and [Consume from locally installed](#consuming-from-locally-installed)
62+
(#consuming-from-locally-installed)
6363
Consuming this SDK via Maven is the preferred method of consuming it and using it within your application. To consume
6464
IoT Device SDK Android in your application, add the following to your `build.gradle` repositories and dependencies:
6565

update-crt.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def main():
3737
if args.update_samples == True:
3838
update_samples()
3939
elif args.update_sdk_text == True:
40-
sdk_version = get_latest_github_version("https://github.com/aws/aws-iot-device-sdk-java-v2.git")
40+
sdk_version = args.version
4141
print (f"Latest SDK version: {sdk_version}")
4242
update(filepath='README.md',
4343
preceded_by=r'<artifactId>aws-iot-device-sdk</artifactId>\s*<version>',
@@ -106,7 +106,7 @@ def update(*, filepath, preceded_by, followed_by, force_version=None):
106106

107107

108108
def update_samples():
109-
sdk_version = get_latest_github_version("https://github.com/aws/aws-iot-device-sdk-java-v2.git")
109+
sdk_version = args.version
110110
print (f"Latest SDK version: {sdk_version}")
111111

112112
sample_folders = [x[0] for x in os.walk("samples")]

0 commit comments

Comments
 (0)