Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: build.py

Issue 29330186: Issue 3319 - Save build manifest with the same base name as the APK (Closed)
Patch Set: Add missing import Created Nov. 13, 2015, 12:53 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build.py
===================================================================
--- a/build.py
+++ b/build.py
@@ -3,6 +3,7 @@
import glob
import json
import os
+import re
import shutil
import string
import subprocess
@@ -82,6 +83,10 @@
manifest["moz_app_version"], manifest["buildid"])
target_apk_path = os.path.join(DIST_PATH, target_apk_name)
shutil.copyfile(apk_path, target_apk_path)
+
+ target_manifest_path = re.sub(r".apk$", ".json", target_apk_path)
+ shutil.copyfile(manifest_path, target_manifest_path)
+
return target_apk_path
def sign(apk_path, key_store, key_name):
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld