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:
Kelson 2024-12-18 05:55:09 +01:00 committed by GitHub
commit 0109c8ced3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -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",

View File

@ -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)