Skip to content

Commit c325ec8

Browse files
authored
ci(fastlane): use bundle pod push (#607)
1 parent f0dd2d4 commit c325ec8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fastlane/Fastfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ platform :ios do
9696
dupe_error = "[!] Unable to accept duplicate entry"
9797

9898
begin
99-
sh('pod', 'trunk', 'push', pod_path, '--allow-warnings', '--synchronous')
99+
sh('bundle', 'exec', 'pod', 'trunk', 'push', pod_path, '--allow-warnings', '--synchronous')
100100
rescue => ex
101101
unless ex.to_s.include? dupe_error
102102
raise Exception.new "Unrecoverable error in pod push trunk"
@@ -108,7 +108,7 @@ platform :ios do
108108
# pod_push(path: pod[:spec], allow_warnings: true, synchronous: true)
109109

110110
# This shouldn't be necessary... but it is
111-
sh('pod', 'repo', 'update')
111+
sh('bundle', 'exec', 'pod', 'repo', 'update')
112112
end
113113
end
114114
end

0 commit comments

Comments
 (0)