Fix the src path of kiwix-desktop when doing release.

kiwix-build add `_release` postfix, not the version number.
This commit is contained in:
Matthieu Gautier 2018-08-06 10:49:53 +02:00
parent 1948b109e2
commit 22a580d070
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ def create_app_image():
if make_release:
postfix = main_project_versions['kiwix-desktop']
archive_dir = RELEASE_KIWIX_ARCHIVES_DIR/'kiwix-desktop'
src_dir = SOURCE_DIR/'kiwix-desktop-{}'.format(postfix)
src_dir = SOURCE_DIR/'kiwix-desktop_release'
else:
postfix = _date
archive_dir = NIGHTLY_KIWIX_ARCHIVES_DIR