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 2b43555 commit b48037a
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 @@ -107,5 +107,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 b48037a

Please sign in to comment.