Merge pull request #26688 from akhilnarang/fix-package-release-path

fix(package_release): set path to tarball
This commit is contained in:
Akhil Narang 2024-06-07 12:26:34 +05:30 committed by GitHub
commit 3ee348acdd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -122,5 +122,8 @@ class PackageRelease(Document):
attached_to_name=self.name,
)
# Set path to tarball
self.path = file.file_url
file.flags.ignore_duplicate_entry_error = True
file.insert()