mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-04 14:30:11 +01:00
Don't limit gradle's forceversion to string literals
This commit is contained in:
parent
5b868c8a4c
commit
c60cca57cf
@ -1315,7 +1315,7 @@ def prepare_source(vcs, app, build, build_dir, srclib_dir, extlib_dir, onserver=
|
||||
raise BuildException("Failed to amend manifest")
|
||||
elif has_extension(path, 'gradle'):
|
||||
p = FDroidPopen(['sed', '-i',
|
||||
's/versionName *=* *"[^"]*"/versionName = "' + build['version'] + '"/g',
|
||||
's/versionName *=* *.*/versionName = "' + build['version'] + '"/g',
|
||||
path], output=False)
|
||||
if p.returncode != 0:
|
||||
raise BuildException("Failed to amend build.gradle")
|
||||
|
Loading…
Reference in New Issue
Block a user