mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-10 01:02:08 +01:00
revision 100+ will be release candidates
This commit is contained in:
parent
160ee42e9f
commit
d1413bef69
1 changed files with 6 additions and 1 deletions
|
@ -79,7 +79,12 @@ with open(chromium_manifest, encoding='utf-8') as m:
|
|||
|
||||
match = re.search('^(\d+\.\d+\.\d+)(\.\d+)$', manifest['version'])
|
||||
if match:
|
||||
manifest['version'] = match.group(1) + 'b' + match.group(2)[1:]
|
||||
buildtype = int(match.group(2)[1:])
|
||||
if buildtype < 100:
|
||||
builttype = 'b' + str(buildtype)
|
||||
else:
|
||||
builttype = 'rc' + str(buildtype - 100)
|
||||
manifest['version'] = match.group(1) + builttype
|
||||
|
||||
manifest['homepage'] = 'https://github.com/gorhill/uBlock'
|
||||
manifest['description'] = descriptions['en']
|
||||
|
|
Loading…
Reference in a new issue