1
0
Fork 0
mirror of https://github.com/gorhill/uMatrix.git synced 2024-05-14 09:13:20 +12:00

Use "development build" instead of "dev build" before Chrome store complains

This commit is contained in:
Raymond Hill 2018-06-17 08:50:50 -04:00
parent 1930844e68
commit 2714193b73
No known key found for this signature in database
GPG key ID: 25E1490B761470C2

View file

@ -25,10 +25,9 @@ manifest_out['version'] = version
# Development build? If so, modify name accordingly.
match = re.search('^\d+\.\d+\.\d+\.\d+$', version)
if match:
dev_build = ' dev build'
manifest_out['name'] += dev_build
manifest_out['short_name'] += dev_build
manifest_out['browser_action']['default_title'] += dev_build
manifest_out['name'] += ' development build'
manifest_out['short_name'] += ' dev build'
manifest_out['browser_action']['default_title'] += ' dev build'
with open(manifest_out_file, 'w') as f:
json.dump(manifest_out, f, indent=2, separators=(',', ': '), sort_keys=True)