From ec8cd80063c098e60a392bde4f197c735d894456 Mon Sep 17 00:00:00 2001 From: s3lph <1375407-s3lph@users.noreply.gitlab.com> Date: Thu, 5 Oct 2023 01:37:16 +0200 Subject: [PATCH] fix: ci --- package/release.py | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/package/release.py b/package/release.py index 0e0ff46..fe19919 100755 --- a/package/release.py +++ b/package/release.py @@ -87,14 +87,6 @@ def fetch_debian_url(base_url: str, job_ids: Dict[str, str]) -> Optional[Tuple[s return debian_url, debian_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' - arch_filename: str = fetch_single_shafile(arch_sha_url) - arch_url: str = f'{mybase}/package/archlinux/{arch_filename}' - return arch_url, arch_sha_url - - def main(): api_token: Optional[str] = os.getenv('GITLAB_API_TOKEN') release_tag: Optional[str] = os.getenv('CI_COMMIT_TAG') @@ -128,15 +120,13 @@ 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) - arch_url, arch_sha_url = fetch_arch_url(base_url, job_ids) augmented_changelog = f'''{changelog.strip()} ### Download - [Python Wheel]({wheel_url}) ([sha256]({wheel_sha_url})) -- [Debian Package]({debian_url}) ([sha256]({debian_sha_url})) -- [Arch Linux Package]({arch_url}) ([sha256]({arch_sha_url}))''' +- [Debian Package]({debian_url}) ([sha256]({debian_sha_url}))''' post_body: str = json.dumps({'description': augmented_changelog})