From 97ccf7f3e4a0234ff762cac5df52bdc20bd9eda6 Mon Sep 17 00:00:00 2001 From: Brooooooklyn Date: Tue, 22 Oct 2024 02:31:03 +0000 Subject: [PATCH] fix(ios): set testflight version number correctly (#8565) --- packages/frontend/apps/ios/App/App.xcodeproj/project.pbxproj | 4 ++-- packages/frontend/apps/ios/App/fastlane/Fastfile | 3 ++- tools/commitlint/.commitlintrc.json | 2 ++ 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/packages/frontend/apps/ios/App/App.xcodeproj/project.pbxproj b/packages/frontend/apps/ios/App/App.xcodeproj/project.pbxproj index 26abac0da3..0f4300dc7c 100644 --- a/packages/frontend/apps/ios/App/App.xcodeproj/project.pbxproj +++ b/packages/frontend/apps/ios/App/App.xcodeproj/project.pbxproj @@ -346,7 +346,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CODE_SIGN_IDENTITY = "Apple Distribution: TOEVERYTHING PTE. LTD. (73YMMDVT2M)"; CODE_SIGN_STYLE = Manual; - CURRENT_PROJECT_VERSION = 10; + CURRENT_PROJECT_VERSION = 12; DEVELOPMENT_TEAM = 73YMMDVT2M; "DEVELOPMENT_TEAM[sdk=iphoneos*]" = 73YMMDVT2M; INFOPLIST_FILE = App/Info.plist; @@ -376,7 +376,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CODE_SIGN_IDENTITY = "Apple Distribution: TOEVERYTHING PTE. LTD. (73YMMDVT2M)"; CODE_SIGN_STYLE = Manual; - CURRENT_PROJECT_VERSION = 10; + CURRENT_PROJECT_VERSION = 12; DEVELOPMENT_TEAM = 73YMMDVT2M; "DEVELOPMENT_TEAM[sdk=iphoneos*]" = 73YMMDVT2M; INFOPLIST_FILE = App/Info.plist; diff --git a/packages/frontend/apps/ios/App/fastlane/Fastfile b/packages/frontend/apps/ios/App/fastlane/Fastfile index 4449982f39..879200ebfd 100644 --- a/packages/frontend/apps/ios/App/fastlane/Fastfile +++ b/packages/frontend/apps/ios/App/fastlane/Fastfile @@ -26,7 +26,8 @@ platform :ios do duration: 1200, # optional (maximum 1200) in_house: false # optional but may be required if using match/sigh ) - increment_build_number(xcodeproj: "App.xcodeproj") + current_build_number = app_store_build_number(live: false) + increment_build_number(xcodeproj: "App.xcodeproj", build_number: current_build_number + 1) build_app( workspace: "App.xcworkspace", scheme: "App" diff --git a/tools/commitlint/.commitlintrc.json b/tools/commitlint/.commitlintrc.json index afbdf28ac3..2240b41237 100644 --- a/tools/commitlint/.commitlintrc.json +++ b/tools/commitlint/.commitlintrc.json @@ -11,6 +11,8 @@ "core", "web", "mobile", + "ios", + "android", "docs", "storybook", "component",