Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

fix(ios): set testflight version number correctly (#8565)

Brooooooklyn97ccf7f3e4a0
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",