Skip to content

Commit

Permalink
chore: fastlane
Browse files Browse the repository at this point in the history
  • Loading branch information
farfromrefug committed Oct 9, 2024
1 parent 6aaebb8 commit 61f22eb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ platform :ios do
type:params[:type],
clone_branch_directly:true,
generate_apple_certs: false,
api_key: api_key
api_key: params[:api_key]
)
# end
end
Expand Down Expand Up @@ -313,8 +313,8 @@ platform :ios do
key_content: ENV['APPLE_KEY_CONTENT']
)
end
fastlane_match(type: 'development')
fastlane_match(type: 'appstore')
fastlane_match(type: 'development', api_key: api_key)
fastlane_match(type: 'appstore', api_key: api_key)
end

desc 'Build the iOS application.'
Expand All @@ -328,9 +328,9 @@ platform :ios do
end
if (params[:flavor] == "appcenter")
register_devices(devices_file: "./fastlane/devices.txt")
fastlane_match(type: 'adhoc')
fastlane_match(type: 'adhoc', api_key: api_key)
else
fastlane_match(type: 'appstore')
fastlane_match(type: 'appstore', api_key: api_key)
end
prepare(platform:'ios')
build_ios_app(
Expand Down

0 comments on commit 61f22eb

Please sign in to comment.