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: Created Nov. 13, 2015, 12:46 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
@@ -82,6 +82,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)
René Jeschke 2015/11/13 12:50:46 `re` is not imported yet.
Felix Dahlke 2015/11/13 12:53:30 Damn, that's what I get for not doing a proper int
+ 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