mirror of https://github.com/gorhill/uBlock.git
fix non-dev build versioning
This commit is contained in:
parent
502dd89d53
commit
ccc4324583
|
@ -31,6 +31,8 @@ if match:
|
||||||
else:
|
else:
|
||||||
builttype = 'rc' + str(buildtype - 100)
|
builttype = 'rc' + str(buildtype - 100)
|
||||||
webext_manifest['version'] = match.group(1) + builttype
|
webext_manifest['version'] = match.group(1) + builttype
|
||||||
|
else:
|
||||||
|
webext_manifest['version'] = chromium_manifest['version']
|
||||||
|
|
||||||
with open(webext_manifest_file, 'w') as f2:
|
with open(webext_manifest_file, 'w') as f2:
|
||||||
json.dump(webext_manifest, f2, indent=2, separators=(',', ': '), sort_keys=True)
|
json.dump(webext_manifest, f2, indent=2, separators=(',', ': '), sort_keys=True)
|
||||||
|
|
Loading…
Reference in New Issue