180
181
182
183
184
185
186
187
188
189
190
191
|
# File 'fastlane/lib/fastlane/actions/pod_push.rb', line 180
def self.example_code
[
'# If no path is supplied then Trunk will attempt to find the first Podspec in the current directory.
pod_push',
'# Alternatively, supply the Podspec file path
pod_push(path: "TSMessages.podspec")',
'# You may also push to a private repo instead of Trunk
pod_push(path: "TSMessages.podspec", repo: "MyRepo")',
'# If the podspec has a dependency on another private pod, then you will have to supply the sources you want the podspec to lint with for pod_push to succeed. Read more here - https://github.com/CocoaPods/CocoaPods/issues/2543.
pod_push(path: "TMessages.podspec", repo: "MyRepo", sources: ["https://github.com/username/Specs", "https://github.com/CocoaPods/Specs"])'
]
end
|