mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-15 23:42:37 +03:00
match versionCode/versionName when set as gradle variable
For example, see org.kontalk: allprojects { ext { appVersionCode = 221 appVersionName = '4.0.1-preview' } }
This commit is contained in:
parent
507ed4a170
commit
564cfb1089
1 changed files with 2 additions and 2 deletions
|
@ -1123,8 +1123,8 @@ def remove_debuggable_flags(root_dir):
|
|||
os.path.join(root, 'AndroidManifest.xml'))
|
||||
|
||||
|
||||
vcsearch_g = re.compile(r'.*versionCode *=* *["\']*([0-9]+)["\']*').search
|
||||
vnsearch_g = re.compile(r'.*versionName *=* *(["\'])((?:(?=(\\?))\3.)*?)\1.*').search
|
||||
vcsearch_g = re.compile(r'''.*[Vv]ersionCode[ =]+["']*([0-9]+)["']*''').search
|
||||
vnsearch_g = re.compile(r'.*[Vv]ersionName *=* *(["\'])((?:(?=(\\?))\3.)*?)\1.*').search
|
||||
psearch_g = re.compile(r'.*(packageName|applicationId) *=* *["\']([^"]+)["\'].*').search
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue