Skip to content

Commit

Permalink
Merge pull request #52797 from Expensify/andrew-key-location
Browse files Browse the repository at this point in the history
[No QA]Change path to iOS and Android fastlane keys to fix production builds
  • Loading branch information
luacmartins authored Nov 20, 2024
2 parents f5fd952 + 5954d3e commit 0c99ad0
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -244,12 +244,12 @@ platform :android do
ENV["SUPPLY_UPLOAD_MAX_RETRIES"]="5"
google_play_track_version_codes(
package_name: "org.me.mobiexpensifyg",
json_key: './android/app/android-fastlane-json-key.json',
json_key: './android-fastlane-json-key.json',
track: 'internal'
)
upload_to_play_store(
package_name: "org.me.mobiexpensifyg",
json_key: './android/app/android-fastlane-json-key.json',
json_key: './android-fastlane-json-key.json',
version_code: ENV["VERSION"].to_i,
track: 'internal',
track_promote_to: 'production',
Expand All @@ -268,11 +268,11 @@ platform :android do
productionVersionCodes = google_play_track_version_codes(
track: 'production',
package_name: "org.me.mobiexpensifyg",
json_key: './android/app/android-fastlane-json-key.json',
json_key: './android-fastlane-json-key.json',
)
upload_to_play_store(
package_name: "org.me.mobiexpensifyg",
json_key: './android/app/android-fastlane-json-key.json',
json_key: './android-fastlane-json-key.json',
version_code: productionVersionCodes.sort.last, # Get the latest version code
track: 'production',
rollout: '1',
Expand Down Expand Up @@ -592,7 +592,7 @@ platform :ios do

desc "Submit HybridApp to 100% rollout on App Store"
lane :complete_hybrid_rollout do
api_token = Spaceship::ConnectAPI::Token.from_json_file("./ios/ios-fastlane-json-key.json")
api_token = Spaceship::ConnectAPI::Token.from_json_file("./ios-fastlane-json-key.json")
Spaceship::ConnectAPI.token = api_token

app = Spaceship::ConnectAPI::App.find("com.expensify.expensifylite")
Expand All @@ -604,7 +604,7 @@ platform :ios do
lane :submit_hybrid_for_rollout do
deliver(
app_identifier: "com.expensify.expensifylite",
api_key_path: "./ios/ios-fastlane-json-key.json",
api_key_path: "./ios-fastlane-json-key.json",

# Skip HTML report verification
force: true,
Expand Down

0 comments on commit 0c99ad0

Please sign in to comment.