From d5beaff3a46932c763f112761d512d8f65d72325 Mon Sep 17 00:00:00 2001 From: Zihe Jia Date: Fri, 1 Dec 2023 17:10:59 -0800 Subject: [PATCH] update release.py to remove the ios build artifacts --- release.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/release.py b/release.py index 49962722..1c3aa2df 100644 --- a/release.py +++ b/release.py @@ -11,9 +11,9 @@ def bump_version(): replace_version('package.json', "\"version\": \"" + args.old + "\"", "\"version\": \"" + args.new + "\"") replace_version('__tests__/index.test.js', "\"$lib_version\": \"" + args.old + "\"", "\"$lib_version\": \"" + args.new + "\"") - subprocess.call('cd Samples/MixpanelDemo;rm -fr node_modules;rm -fr android/app/build', shell=True) - subprocess.call('cd Samples/SimpleMixpanel;rm -fr node_modules;rm -fr android/app/build', shell=True) - subprocess.call('cd Samples/ContextAPIMixpanel;rm -fr node_modules;rm -fr android/app/build', shell=True) + subprocess.call('cd Samples/MixpanelDemo;rm -fr node_modules;rm -fr android/app/build;rm -fr ios/Pods', shell=True) + subprocess.call('cd Samples/SimpleMixpanel;rm -fr node_modules;rm -fr android/app/build;rm -fr ios/Pods', shell=True) + subprocess.call('cd Samples/ContextAPIMixpanel;rm -fr node_modules;rm -fr android/app/build;rm -fr ios/Pods', shell=True) subprocess.call('git add package.json', shell=True) subprocess.call('git add __tests__/index.test.js', shell=True)