Skip to content

Commit 45b445c

Browse files
authored
Simplify update-versions script with --use-json (#3989)
1 parent eb413b3 commit 45b445c

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Releases/update-versions.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -238,10 +238,8 @@ def PushPodspecs(version_data):
238238
warnings_ok = ''
239239

240240
podspec = '{}.podspec'.format(pod)
241-
json = os.path.join(tmp_dir, '{}.json'.format(podspec))
242-
LogOrRun('pod ipc spec {} > {}'.format(podspec, json))
243-
LogOrRun('pod repo push --skip-tests {} {}{}'.format(GetCpdcInternal(),
244-
json, warnings_ok))
241+
LogOrRun('pod repo push --skip-tests --use-json {} {}{}'
242+
.format(GetCpdcInternal(), podspec, warnings_ok))
245243
os.system('rm -rf {}'.format(tmp_dir))
246244

247245

0 commit comments

Comments
 (0)