Correctly build release of kiwix-lib on android.
The name of the target is `kiwix-lib-app` on android but the key in the version directory is `kiwix-lib`.
This commit is contained in:
parent
0419cf5f4d
commit
7afa3f6a52
|
@ -53,7 +53,11 @@ else:
|
||||||
|
|
||||||
# Filter what to build if we are doing a release.
|
# Filter what to build if we are doing a release.
|
||||||
if RELEASE:
|
if RELEASE:
|
||||||
TARGETS = tuple(filter(lambda t: release_versions.get(t) is not None, TARGETS))
|
def release_filter(project):
|
||||||
|
if project == "kiwix-lib-app":
|
||||||
|
project = "kiwix-lib"
|
||||||
|
return release_versions.get(project) is not None
|
||||||
|
TARGETS = tuple(filter(release_filter, TARGETS))
|
||||||
|
|
||||||
for target in TARGETS:
|
for target in TARGETS:
|
||||||
run_kiwix_build(target, platform=PLATFORM_TARGET, make_release=RELEASE)
|
run_kiwix_build(target, platform=PLATFORM_TARGET, make_release=RELEASE)
|
||||||
|
|
Loading…
Reference in New Issue