Commit aa1478bdc711365a60056f813339c7bf4dec50dd
1 parent
15b52acd
no message
Showing
2 changed files
with
6 additions
and
3 deletions
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