Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
yukiarrr committed Apr 6, 2023
1 parent 2b71d76 commit c5c8365
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,12 @@ platform :ios do
path: ENV['PROJECT_PATH'],
code_sign_identity: ENV['CODE_SIGNING_IDENTITY'],
targets: update_targets,
entitlements_file_path: !ENV['ENTITLMENTS_FILE_PATH'].empty? ? ENV['ENTITLMENTS_FILE_PATH'] : nil
entitlements_file_path:
if !ENV['ENTITLMENTS_FILE_PATH'].empty?
ENV['ENTITLMENTS_FILE_PATH']
else
nil
end
)

if @profiles.length == 1
Expand Down Expand Up @@ -141,10 +146,8 @@ platform :ios do
use_build_destination = !ENV['BUILD_DESTINATION'].empty?
use_cloned_source_packages_path = !ENV['CLONED_SOURCE_PACKAGES_PATH'].empty?

if ENV['INCREMENT_BUILD_NUMBER'] == "true"
increment_build_number(
xcodeproj: ENV['PROJECT_PATH']
)
if ENV['INCREMENT_BUILD_NUMBER'] == 'true'
increment_build_number(xcodeproj: ENV['PROJECT_PATH'])
end

build_app(
Expand Down

0 comments on commit c5c8365

Please sign in to comment.