diff --git a/.github/workflows/get_kernelurls.py b/.github/workflows/get_kernelurls.py index fa8e4265d..5cc341743 100755 --- a/.github/workflows/get_kernelurls.py +++ b/.github/workflows/get_kernelurls.py @@ -75,11 +75,10 @@ def get_package_list(repositories, architecture): packages = gzip.decompress(response.content).decode("UTF-8") else: packages = response.content.decode("UTF-8") - else: - raise(Exception(f"Failed to download package from {packages_url}")) - packages_dict.update({f'{uri}-{suite}-{component}-{arch}': packages}) + packages_dict.update({f'{uri}-{suite}-{component}-{arch}': packages}) + assert len(packages_dict) != 0, "Expected to find packages" return packages_dict def get_package_urls(package_list, package_name, resolve_depends=True): diff --git a/.github/workflows/release-page.sh b/.github/workflows/release-page.sh index 29dc19780..e15ebe328 100755 --- a/.github/workflows/release-page.sh +++ b/.github/workflows/release-page.sh @@ -40,7 +40,7 @@ case "$action" in commit="$1"; shift name="$1"; shift commit_short=${commit:0:8} - body="$(.github/workflows/generate_release_note.py generate --version "$name" --commitish "$commit_short" --escaped)" + body="$(.github/workflows/release_note.py generate --version "$name" --commitish "$commit_short" --escaped)" # If release does not exist, this get request will return a 404 release="$(get "releases/tags/$tag" | jq -r '.id' || true)" [ ! "$release" ] || delete "releases/$release"