v0.1
This commit is contained in:
parent
c142158f12
commit
da890e0306
1 changed files with 0 additions and 10 deletions
|
@ -80,14 +80,6 @@ def fetch_debian_url(base_url: str, job_ids: Dict[str, str]) -> Optional[Tuple[s
|
|||
return debian_url, debian_sha_url
|
||||
|
||||
|
||||
def fetch_rpm_url(base_url: str, job_ids: Dict[str, str]) -> Optional[Tuple[str, str]]:
|
||||
mybase: str = f'{base_url}/jobs/{job_ids["build_rpm"]}/artifacts/raw'
|
||||
rpm_sha_url: str = f'{mybase}/package/rpm/SHA256SUMS'
|
||||
rpm_filename: str = fetch_single_shafile(rpm_sha_url)
|
||||
rpm_url: str = f'{mybase}/package/rpm/{rpm_filename}'
|
||||
return rpm_url, rpm_sha_url
|
||||
|
||||
|
||||
def fetch_arch_url(base_url: str, job_ids: Dict[str, str]) -> Optional[Tuple[str, str]]:
|
||||
mybase: str = f'{base_url}/jobs/{job_ids["build_archlinux"]}/artifacts/raw'
|
||||
arch_sha_url: str = f'{mybase}/package/archlinux/SHA256SUMS'
|
||||
|
@ -129,7 +121,6 @@ def main():
|
|||
|
||||
wheel_url, wheel_sha_url = fetch_wheel_url(base_url, job_ids)
|
||||
debian_url, debian_sha_url = fetch_debian_url(base_url, job_ids)
|
||||
rpm_url, rpm_sha_url = fetch_rpm_url(base_url, job_ids)
|
||||
arch_url, arch_sha_url = fetch_arch_url(base_url, job_ids)
|
||||
|
||||
augmented_changelog = f'''{changelog.strip()}
|
||||
|
@ -138,7 +129,6 @@ def main():
|
|||
|
||||
- [Python Wheel]({wheel_url}) ([sha256]({wheel_sha_url}))
|
||||
- [Debian Package]({debian_url}) ([sha256]({debian_sha_url}))
|
||||
- [RPM Package]({rpm_url}) ([sha256]({rpm_sha_url}))
|
||||
- [Arch Linux Package]({arch_url}) ([sha256]({arch_sha_url}))
|
||||
- Docker image: registry.gitlab.com/{project_name}:{release_tag}'''
|
||||
|
||||
|
|
Loading…
Reference in a new issue