Commit aa1478bdc711365a60056f813339c7bf4dec50dd

Authored by iOS-Xiaowen
1 parent 15b52acd

no message

auto_upload.py
... ... @@ -97,6 +97,9 @@ class AutoUpload(object):
97 97 elif self.number == 2:
98 98 plist_name = 'exportTest'
99 99  
  100 + elif self.number == 3:
  101 + plist_name = 'exportAppstore'
  102 +
100 103 export_command = 'xcodebuild -exportArchive -archivePath %s/%s/%s.xcarchive -exportPath %s/%s -exportOptionsPlist %s/%s.plist' % (
101 104 archive_workspace_path, export_directory, project_name, archive_workspace_path, export_directory, archive_workspace_path, plist_name)
102 105 export_command_run = subprocess.Popen(export_command, shell=True)
... ... @@ -156,9 +159,9 @@ class AutoUpload(object):
156 159 process.wait()
157 160 loginReturnCode = process.returncode
158 161 if loginReturnCode != 0:
159   - print("=======上传登录Fir失败")
  162 + print("=======登录Fir失败")
160 163 else:
161   - print("=======上传登录Fir成功")
  164 + print("=======登录Fir成功")
162 165 start = time.time()
163 166 publishCmd = 'fir publish %s -c %s'%(ipa_path, upload_version)
164 167 process = subprocess.Popen(publishCmd, shell=True)
... ...
exportAppstore.plist
... ... @@ -5,7 +5,7 @@
5 5 <key>provisioningProfiles</key>
6 6 <dict>
7 7 <key>cn.gov.scio.live1</key>
8   - <string>SCIOLive_distribution</string>
  8 + <string>SCIOLiveDis_AppStore</string>
9 9 </dict>
10 10 <key>method</key>
11 11 <string>app-store</string>
... ...