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

Unified Diff: packagerEdge.py

Issue 29968555: Issue 7145 - Change manifest name for release builds
Patch Set: Updated tests Created Dec. 29, 2018, 5:04 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 | templates/manifest.json.tmpl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: packagerEdge.py
diff --git a/packagerEdge.py b/packagerEdge.py
index cdd720c7adcf2a0cf2ce085e7979c0fb09fc4859..802c88c8cc7d1fe8ab149d063b6b689f243f7903 100644
--- a/packagerEdge.py
+++ b/packagerEdge.py
@@ -164,7 +164,7 @@ def createBuild(baseDir, type='edge', outFile=None, # noqa: preserve API.
# product name is tranlated into Azerbajani.
data = json.loads(files['_locales/{}/messages.json'.format(defaultLocale)])
files['manifest.json'] = re.sub(
- r'__MSG_(name(?:_devbuild)?)__',
+ r'__MSG_(name(?:_devbuild|_releasebuild)?)__',
lambda m: data[m.group(1)]['message'],
packagerChrome.createManifest(params, files),
)
« no previous file with comments | « no previous file | templates/manifest.json.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld