Provide sha512 hashsums for tgz artifacts

This commit is contained in:
Mikhail f. Shiryaev 2022-12-07 18:24:08 +01:00
parent ae95dfe536
commit e1584c5d3a
No known key found for this signature in database
GPG Key ID: 4B02ED204C7D93F4
2 changed files with 3 additions and 1 deletions

View File

@ -111,6 +111,8 @@ EOF
tar -czf "$TARBALL" -C "$OUTPUT_DIR" "$PKG_DIR"
fi
sha512sum "$TARBALL" > "$TARBALL".sha512
rm -r "$PKG_PATH"
}

View File

@ -74,7 +74,7 @@ def group_by_artifacts(build_urls: List[str]) -> Dict[str, List[str]]:
groups["apk"].append(url)
elif url.endswith(".rpm"):
groups["rpm"].append(url)
elif url.endswith(".tgz"):
elif url.endswith(".tgz") or url.endswith(".tgz.sha512"):
groups["tgz"].append(url)
else:
groups["binary"].append(url)