mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-04 22:40:12 +01:00
Discover apk filename from maven builds.
This commit is contained in:
parent
a30aa01253
commit
7e9d46d427
@ -351,6 +351,10 @@ def build_local(app, thisbuild, vcs, build_dir, output_dir, extlib_dir, tmp_dir,
|
||||
# This format is found in com.github.mobile for example...
|
||||
m = re.match(r".*^\[INFO\] [^$]*aapt \[package,[^$]*" + app['id'] + "/app/target/([^$]+)\.ap_\]",
|
||||
output, re.S|re.M)
|
||||
if not m:
|
||||
# This format is found in com.yubico.yubitotp for example...
|
||||
m = re.match(r".*^\[INFO\] [^$]*aapt \[package,[^$]*" + app['id'] + "/" + thisbuild['bindir'] + "/([^$]+)\.ap_,",
|
||||
output, re.S|re.M)
|
||||
if not m:
|
||||
print output
|
||||
raise BuildException('Failed to find output')
|
||||
|
Loading…
Reference in New Issue
Block a user