Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion tools/create_release.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ def create_patch_zip(self) -> None:
del self.wrap_section['patch_directory']
self.wrap_section['patch_filename'] = patch_filename.name
self.wrap_section['patch_url'] = f'https://wrapdb.mesonbuild.com/v2/{self.tag}/get_patch'
self.wrap_section['patch_fallback_url'] = f'https://github.com/mesonbuild/wrapdb/releases/download/{self.tag}/{patch_filename.name}'
self.wrap_section['patch_hash'] = patch_hash

def create_wrap_file(self) -> None:
Expand Down Expand Up @@ -181,7 +182,7 @@ def create_source_fallback(self) -> None:
filename = Path(self.tempdir, self.wrap_section['source_filename'])
filename.write_bytes(response.content)
self.upload(filename, 'application/zip')
self.wrap_section['source_fallback_url'] = f'https://github.com/mesonbuild/wrapdb/releases/download/{self.tag}/{filename.name}'
self.wrap_section['source_fallback_url'] = f'https://wrapdb.mesonbuild.com/v2/{self.tag}/get_source/{filename.name}'

def finalize(self) -> None:
if not self.repo or not self.token:
Expand Down