Skip to content

Commit

Permalink
Merge pull request #26688 from akhilnarang/fix-package-release-path
Browse files Browse the repository at this point in the history
fix(package_release): set path to tarball
  • Loading branch information
akhilnarang committed Jun 7, 2024
2 parents 04642ed + b8ebd60 commit 3ee348a
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 3ee348a

Please sign in to comment.