Skip to content

Commit

Permalink
fix(package_release): set path to tarball
Browse files Browse the repository at this point in the history
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
(cherry picked from commit b8ebd60)
  • Loading branch information
akhilnarang authored and mergify[bot] committed Jun 7, 2024
1 parent c24ee13 commit 9606348
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions frappe/core/doctype/package_release/package_release.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,5 +124,8 @@ def make_tarfile(self, package):
)
)

# Set path to tarball
self.path = file.file_url

file.flags.ignore_duplicate_entry_error = True
file.insert()

0 comments on commit 9606348

Please sign in to comment.