We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b31415 commit 95c0e0bCopy full SHA for 95c0e0b
.circleci/config.yml
@@ -694,9 +694,7 @@ jobs:
694
- install-mbx-ci
695
- run:
696
name: Update version
697
- command: |
698
- pod repo update && pod trunk push MapboxCoreNavigation.podspec
699
- pod repo update && pod trunk push MapboxNavigation.podspec
+ command: python3 scripts/distribute-version.py
700
- *save-cache-podmaster
701
- *save-cache-gems
702
scripts/distribute-version.py
@@ -0,0 +1,14 @@
1
+import subprocess
2
+import time
3
+
4
5
+def push_pod(name):
6
+ while True:
7
+ status = subprocess.run('pod repo update && pod trunk push ' + name + '.podspec', shell=True)
8
+ if status.returncode == 0:
9
+ break
10
+ time.sleep(10)
11
12
13
+push_pod('MapboxCoreNavigation')
14
+push_pod('MapboxNavigation')
0 commit comments