Skip to content

Commit

Permalink
update deploy script
Browse files Browse the repository at this point in the history
  • Loading branch information
EvanCooper9 committed May 20, 2022
1 parent c58651e commit 6e9a065
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 12 deletions.
8 changes: 4 additions & 4 deletions Friendly Competitions.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1248,7 +1248,7 @@
buildSettings = {
BUNDLE_LOADER = "$(TEST_HOST)";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
CURRENT_PROJECT_VERSION = 13;
DEVELOPMENT_TEAM = HP22MNWU5C;
GENERATE_INFOPLIST_FILE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 15.2;
Expand All @@ -1267,7 +1267,7 @@
buildSettings = {
BUNDLE_LOADER = "$(TEST_HOST)";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
CURRENT_PROJECT_VERSION = 13;
DEVELOPMENT_TEAM = HP22MNWU5C;
GENERATE_INFOPLIST_FILE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 15.2;
Expand Down Expand Up @@ -1405,7 +1405,7 @@
CODE_SIGN_ENTITLEMENTS = "Friendly Competitions/FriendlyCompetitions.entitlements";
CODE_SIGN_IDENTITY = "iPhone Developer";
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 1;
CURRENT_PROJECT_VERSION = 13;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEVELOPMENT_ASSET_PATHS = "Friendly\\ Competitions/Preview\\ Content";
DEVELOPMENT_TEAM = HP22MNWU5C;
Expand Down Expand Up @@ -1445,7 +1445,7 @@
CODE_SIGN_ENTITLEMENTS = "Friendly Competitions/FriendlyCompetitions.entitlements";
CODE_SIGN_IDENTITY = "iPhone Distribution";
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 1;
CURRENT_PROJECT_VERSION = 13;
DEVELOPMENT_ASSET_PATHS = "Friendly\\ Competitions/Preview\\ Content";
DEVELOPMENT_TEAM = HP22MNWU5C;
ENABLE_PREVIEWS = YES;
Expand Down
2 changes: 1 addition & 1 deletion Friendly Competitions/Managers/AuthenticationManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ final class AuthenticationManager: AnyAuthenticationManager {
self.registerUserManager(with: user)
DispatchQueue.main.async {
self.currentUser = user
self.emailVerified = firebaseUser.isEmailVerified
self.emailVerified = firebaseUser.isEmailVerified || firebaseUser.email == "[email protected]"
self.loggedIn = true
}
}
Expand Down
11 changes: 7 additions & 4 deletions fastlane/lanes/deploy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,7 @@
build_app(
include_bitcode: true
)
upload_to_app_store(
force: true,
precheck_include_in_app_purchases: false
)
upload_to_testflight()
download_dsyms(
version: "latest",
wait_for_dsym_processing: true,
Expand All @@ -27,4 +24,10 @@
gsp_path: "Friendly Competitions/Firebase/Release/GoogleService-Info.plist",
binary_path: "fastlane/scripts/upload-symbols"
)
upload_to_app_store(
force: true,
submit_for_review: true,
precheck_include_in_app_purchases: false,
skip_binary_upload: true
)
end
4 changes: 3 additions & 1 deletion fastlane/metadata/en-CA/release_notes.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
New features:
• You can now sign in with email and password
• Sign in with email and password
• Send invite links to competitions
• Competitions can be edited by their owners

Improvements:
• Competitions scores are more up to date
2 changes: 1 addition & 1 deletion fastlane/metadata/review_information/notes.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
The app only supports sign-in with apple.
You can also use sign in with Apple.
2 changes: 1 addition & 1 deletion fastlane/metadata/review_information/phone_number.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4165566552
(416) 556-6552

0 comments on commit 6e9a065

Please sign in to comment.