Use the correct source path of kiwix-desktop when doing release.
This commit is contained in:
parent
58ca125d32
commit
cad38f8a53
|
@ -96,16 +96,19 @@ def run_kiwix_build(target, platform,
|
||||||
|
|
||||||
|
|
||||||
def create_app_image():
|
def create_app_image():
|
||||||
command = ['kiwix-build/scripts/create_kiwix-desktop_appImage.sh',
|
|
||||||
str(BASE_DIR/'INSTALL'), str(HOME/'SOURCE'/'kiwix-desktop'), str(HOME/'AppDir')]
|
|
||||||
print_message("Build AppImage of kiwix-desktop")
|
|
||||||
subprocess.check_call(command, cwd=str(HOME))
|
|
||||||
if make_release:
|
if make_release:
|
||||||
postfix = main_project_versions['kiwix-desktop']
|
postfix = main_project_versions['kiwix-desktop']
|
||||||
archive_dir = RELEASE_KIWIX_ARCHIVES_DIR/'kiwix-desktop'
|
archive_dir = RELEASE_KIWIX_ARCHIVES_DIR/'kiwix-desktop'
|
||||||
|
src_dir = SOURCE_DIR/'kiwix-desktop-{}'.format(postfix)
|
||||||
else:
|
else:
|
||||||
postfix = _date
|
postfix = _date
|
||||||
archive_dir = NIGHTLY_KIWIX_ARCHIVES_DIR
|
archive_dir = NIGHTLY_KIWIX_ARCHIVES_DIR
|
||||||
|
src_dir = SOURCE_DIR/'kiwix-desktop'
|
||||||
|
|
||||||
|
command = ['kiwix-build/scripts/create_kiwix-desktop_appImage.sh',
|
||||||
|
str(BASE_DIR/'INSTALL'), str(src_dir), str(HOME/'AppDir')]
|
||||||
|
print_message("Build AppImage of kiwix-desktop")
|
||||||
|
subprocess.check_call(command, cwd=str(HOME))
|
||||||
|
|
||||||
try:
|
try:
|
||||||
archive_dir.mkdir(parents=True)
|
archive_dir.mkdir(parents=True)
|
||||||
|
|
Loading…
Reference in New Issue