From f9a0b6908758b2ea8f23d68c2caf2d57cfc85ad2 Mon Sep 17 00:00:00 2001 From: Thuc Nguyen Duy Date: Wed, 17 Jan 2024 15:34:03 +0700 Subject: [PATCH] Release version 1.1.27 (295) --- .github/workflows/cron-update-app.yml | 18 ++++++++++++++++++ CHANGELOG.md | 3 +++ android/app/build.gradle | 2 +- ios/SubWalletMobile.xcodeproj/project.pbxproj | 4 ++-- package.json | 4 ++-- 5 files changed, 26 insertions(+), 5 deletions(-) create mode 100644 .github/workflows/cron-update-app.yml diff --git a/.github/workflows/cron-update-app.yml b/.github/workflows/cron-update-app.yml new file mode 100644 index 000000000..f177b2c80 --- /dev/null +++ b/.github/workflows/cron-update-app.yml @@ -0,0 +1,18 @@ +name: Check for New App Version + +on: + schedule: + - cron: '*/30 * * * *' + +jobs: + check-version: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Install jq + run: sudo apt-get install jq -y + - name: Get latest app version from API + run: | + curl -s "https://itunes.apple.com/br/lookup?bundleId=app.subwallet.mobile" | jq -r '.results[0].version' > latest_version + latest_version=$(cat latest_version) + echo "Latest version: $latest_version" \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 432bcfc0d..4ddfb74c4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## 1.1.27 (295) + + ## 1.1.26 (292) # bundle-av11-iv7 - Add banner in token detail (#1346) diff --git a/android/app/build.gradle b/android/app/build.gradle index d43f45a9e..41e42262f 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -77,7 +77,7 @@ android { minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion versionCode 293 - versionName "1.1.26" + versionName "1.1.27" missingDimensionStrategy 'react-native-camera', 'general' } diff --git a/ios/SubWalletMobile.xcodeproj/project.pbxproj b/ios/SubWalletMobile.xcodeproj/project.pbxproj index 11c5593be..bc75980f6 100644 --- a/ios/SubWalletMobile.xcodeproj/project.pbxproj +++ b/ios/SubWalletMobile.xcodeproj/project.pbxproj @@ -546,7 +546,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 1.1.26; + MARKETING_VERSION = 1.1.27; OTHER_LDFLAGS = ( "$(inherited)", "-ObjC", @@ -578,7 +578,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 1.1.26; + MARKETING_VERSION = 1.1.27; OTHER_LDFLAGS = ( "$(inherited)", "-ObjC", diff --git a/package.json b/package.json index 0ce81a664..2ccdf300d 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "SubWalletMobile", - "version": "1.1.26", - "build": "293", + "version": "1.1.27", + "build": "295", "bundleVersion": "a(v11)-i(v7)", "bundleVersionStaging": "a(v11)-i(v16)", "private": true,