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

Unified Diff: releaseAutomation.py

Issue 29599576: Issue 5994 - Use correct value for extensionName (Closed)
Patch Set: Created Nov. 6, 2017, 12:38 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: releaseAutomation.py
diff --git a/releaseAutomation.py b/releaseAutomation.py
index 805fa257c92f49f52317a82b4725c8a3205e2632..f9d6405c9605854322d35f8c0d69ffccc26ba584 100644
--- a/releaseAutomation.py
+++ b/releaseAutomation.py
@@ -141,7 +141,7 @@ def run(baseDir, type, version, keyFile, downloadsRepo):
default_locale_path = os.path.join('_locales', packager.defaultLocale,
'messages.json')
with open(default_locale_path, 'r') as fp:
- extensionName = json.load(fp)['name']
+ extensionName = json.load(fp)['name']['message']
# Now commit the change and tag it
subprocess.check_call(['hg', 'commit', '-R', baseDir, '-m', 'Releasing %s %s' % (extensionName, version)])
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld