Skip to content

Commit

Permalink
Add --allow-warnings flag to cocoapods distribute script
Browse files Browse the repository at this point in the history
  • Loading branch information
kried committed Aug 14, 2024
1 parent e56ef37 commit 6d22e76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/distribute-version.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

def push_pod(name, max_attempts):
for attempt in range(0, max_attempts):
status = subprocess.run('pod repo update && pod trunk push ' + name + '.podspec', shell=True)
status = subprocess.run('pod repo update && pod trunk push ' + name + '.podspec --allow-warnings', shell=True)
if status.returncode == 0:
return
time.sleep(60 * pow(2, attempt))
Expand Down

0 comments on commit 6d22e76

Please sign in to comment.