Skip to content

Commit

Permalink
Fix indents in push_podspec def
Browse files Browse the repository at this point in the history
  • Loading branch information
Ruslan Akhmadeev committed Dec 13, 2022
1 parent 97aaecf commit ed55e6b
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -91,20 +91,20 @@ def push_podspec(podspec_name)
tries = 6
for i in 1..tries
begin
sh("bundle exec pod repo update")
pod_push(
path: podspec_name,
allow_warnings: true,
skip_tests: true
)
break
sh("bundle exec pod repo update")
pod_push(
path: podspec_name,
allow_warnings: true,
skip_tests: true
)
break
rescue StandardError => error
if i == tries
raise
end
delay = 3**i
puts "retry pod_push after #{delay}"
sleep(delay)
if i == tries
raise
end
delay = 3**i
puts "retry pod_push after #{delay}"
sleep(delay)
end
end
end
Expand Down

0 comments on commit ed55e6b

Please sign in to comment.