mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-16 07:52:35 +03:00
Don't limit gradle's forceversion to string literals
This commit is contained in:
parent
5b868c8a4c
commit
c60cca57cf
1 changed files with 1 additions and 1 deletions
|
@ -1315,7 +1315,7 @@ def prepare_source(vcs, app, build, build_dir, srclib_dir, extlib_dir, onserver=
|
||||||
raise BuildException("Failed to amend manifest")
|
raise BuildException("Failed to amend manifest")
|
||||||
elif has_extension(path, 'gradle'):
|
elif has_extension(path, 'gradle'):
|
||||||
p = FDroidPopen(['sed', '-i',
|
p = FDroidPopen(['sed', '-i',
|
||||||
's/versionName *=* *"[^"]*"/versionName = "' + build['version'] + '"/g',
|
's/versionName *=* *.*/versionName = "' + build['version'] + '"/g',
|
||||||
path], output=False)
|
path], output=False)
|
||||||
if p.returncode != 0:
|
if p.returncode != 0:
|
||||||
raise BuildException("Failed to amend build.gradle")
|
raise BuildException("Failed to amend build.gradle")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue