Skip to content

Commit

Permalink
IOS-468 CI | Fix | Parsing empty options for dSYMs funcs
Browse files Browse the repository at this point in the history
  • Loading branch information
kmordan committed Sep 13, 2022
1 parent 9d991d2 commit 34ece22
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions fastlane/FastfileDsyms
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,14 @@ platform :ios do
in_house: false
)

if !options[:version] && !options[:build_number]
is_version_empty = !options[:version] || options[:version] == ""
is_build_number_empty = !options[:build_number] || options[:build_number] == ""

if is_version_empty && is_build_number_empty
download_dsyms(
version: 'latest'
)
elsif !options[:build_number]
elsif is_build_number_empty
download_dsyms(
version: options[:version]
)
Expand All @@ -44,8 +47,6 @@ platform :ios do
)
end



upload_symbols_to_crashlytics(
gsp_path: options[:gsp_path],
binary_path: './Scripts/firebase/upload-symbols',
Expand Down

0 comments on commit 34ece22

Please sign in to comment.