Skip to content

Commit

Permalink
Merge pull request #787 from kiwix/fix_for_publishing_kiwix-desktop_s…
Browse files Browse the repository at this point in the history
…ources

Fixed a bug in kiwix-desktop's source publishing step
  • Loading branch information
kelson42 authored Dec 18, 2024
2 parents b1b545a + a5a6ba1 commit 0109c8c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/scripts/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ def create_desktop_image(make_release):
elif platform.system() == "Windows":
archive_basename = "kiwix-desktop_windows_x64_{}".format(postfix)
working_dir = INSTALL_DIR / archive_basename
build_path = working_dir + ".zip"
build_path = Path(str(working_dir) + ".zip")
app_name = build_path.name
command = [
"python",
Expand Down
4 changes: 2 additions & 2 deletions kiwixbuild/dependencies/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -524,8 +524,8 @@ def _make_dist(self, context):
*neutralEnv("git_command"),
"archive",
"-o",
f"{self.build_path}/{self.target_full_name()}.tar.gz",
f"--prefix={self.target_full_name()}/",
f"{self.build_path}/{self.target.full_name()}.tar.gz",
f"--prefix={self.target.full_name()}/",
"HEAD",
]
run_command(command, self.source_path, context)
Expand Down

0 comments on commit 0109c8c

Please sign in to comment.