Merge pull request #787 from kiwix/fix_for_publishing_kiwix-desktop_sources
Fixed a bug in kiwix-desktop's source publishing step
This commit is contained in:
commit
0109c8ced3
|
@ -544,7 +544,7 @@ def create_desktop_image(make_release):
|
||||||
elif platform.system() == "Windows":
|
elif platform.system() == "Windows":
|
||||||
archive_basename = "kiwix-desktop_windows_x64_{}".format(postfix)
|
archive_basename = "kiwix-desktop_windows_x64_{}".format(postfix)
|
||||||
working_dir = INSTALL_DIR / archive_basename
|
working_dir = INSTALL_DIR / archive_basename
|
||||||
build_path = working_dir + ".zip"
|
build_path = Path(str(working_dir) + ".zip")
|
||||||
app_name = build_path.name
|
app_name = build_path.name
|
||||||
command = [
|
command = [
|
||||||
"python",
|
"python",
|
||||||
|
|
|
@ -524,8 +524,8 @@ class QMakeBuilder(MakeBuilder):
|
||||||
*neutralEnv("git_command"),
|
*neutralEnv("git_command"),
|
||||||
"archive",
|
"archive",
|
||||||
"-o",
|
"-o",
|
||||||
f"{self.build_path}/{self.target_full_name()}.tar.gz",
|
f"{self.build_path}/{self.target.full_name()}.tar.gz",
|
||||||
f"--prefix={self.target_full_name()}/",
|
f"--prefix={self.target.full_name()}/",
|
||||||
"HEAD",
|
"HEAD",
|
||||||
]
|
]
|
||||||
run_command(command, self.source_path, context)
|
run_command(command, self.source_path, context)
|
||||||
|
|
Loading…
Reference in New Issue