diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5e7dc32..e9f526a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -85,8 +85,8 @@ build_debian: - find easywks -type d -exec chmod 755 {} \; - chmod +x easywks/usr/bin/easywks easywks/DEBIAN/postinst easywks/DEBIAN/prerm easywks/DEBIAN/postrm - dpkg-deb --build easywks - - mv easywks.deb "easywks_${EASTWKS_VERSION}-1_all.deb" - - sudo -u nobody lintian "easywks_${EASTWKS_VERSION}-1_all.deb" + - mv easywks.deb "easywks_${EASYWKS_VERSION}-1_all.deb" + - sudo -u nobody lintian "easywks_${EASYWKS_VERSION}-1_all.deb" - sha256sum *.deb > SHA256SUMS artifacts: paths: diff --git a/package/release.py b/package/release.py index 831a903..4f09ba3 100755 --- a/package/release.py +++ b/package/release.py @@ -78,7 +78,7 @@ def fetch_wheel_url(base_url: str, project_id: str, job_ids: Dict[str, str], api def fetch_debian_url(base_url: str, project_id: str, job_ids: Dict[str, str], api_token: str) -> Optional[Tuple[str, str]]: - mybase: str = f'{base_url}/jobs/{job_ids["build_wheel"]}/artifacts/raw' + mybase: str = f'{base_url}/jobs/{job_ids["build_debian"]}/artifacts/raw' debian_sha_url: str = f'https://gitlab.com/api/v4/projects/{project_id}/jobs/{job_ids["build_debian"]}'\ '/artifacts/package/debian/SHA256SUMS' debian_filename: str = fetch_single_shafile(debian_sha_url, api_token)