From 29b49ee06b59a3905599a752928b21d2f2abccdd Mon Sep 17 00:00:00 2001 From: nicoback2 <36916764+nicoback2@users.noreply.github.com> Date: Fri, 9 Jun 2023 18:16:23 -0400 Subject: [PATCH] Force mobile staging build - Android (#3560) Co-authored-by: Nikki Kang --- packages/mobile/android/fastlane/Fastfile | 2 +- packages/mobile/ios/fastlane/Fastfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/mobile/android/fastlane/Fastfile b/packages/mobile/android/fastlane/Fastfile index d31fa840fe6..9c14e625411 100644 --- a/packages/mobile/android/fastlane/Fastfile +++ b/packages/mobile/android/fastlane/Fastfile @@ -99,7 +99,7 @@ platform :android do packageJson = File.open "../../package.json" packageJsonData = JSON.load packageJson - if buildFileVersion > releasedVersion + if true # Revert!!! UI.message "Doing a full build and release (not over-the-air/Codepush)" # Build app and release via play store diff --git a/packages/mobile/ios/fastlane/Fastfile b/packages/mobile/ios/fastlane/Fastfile index 85386d7bfd9..09576544761 100644 --- a/packages/mobile/ios/fastlane/Fastfile +++ b/packages/mobile/ios/fastlane/Fastfile @@ -227,7 +227,7 @@ platform :ios do codepushDeployment = CODEPUSH_RC_DEPLOYMENT end currentReleasedVersionNumber, plistVersionNumber = get_version(scheme: scheme) - isVersionIncremented = true # REVERT!!! + isVersionIncremented = plistVersionNumber > currentReleasedVersionNumber packageJson = File.open "../../package.json" packageJsonData = JSON.load packageJson if !isVersionIncremented