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>
  • Loading branch information
akhilnarang committed Jun 5, 2024
1 parent 7376287 commit b8ebd60
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 @@ -122,5 +122,8 @@ def make_tarfile(self, package):
attached_to_name=self.name,
)

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

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

0 comments on commit b8ebd60

Please sign in to comment.