Skip to content

Commit

Permalink
+
Browse files Browse the repository at this point in the history
  • Loading branch information
Azathothas committed Oct 31, 2024
1 parent ff58c41 commit c31a720
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/scripts/hf_gen_meta_temp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,14 @@ pushd "${HF_REPO_PKGDIR}" >/dev/null && curl -qfsSL "https://pub.ajam.dev/utils/
bsum,
shasum,
build_date: (.ModTime | split(".")[0]),
repology,
src_url,
web_url,
build_script,
build_log,
category,
desktop,
icon,
repology,
extra_bins
}' | jq -s 'sort_by(.name)' | jq '.[]' > "${SYSTMP}/${HOST_TRIPLET}-metadata.json.tmp"
echo "[" $(cat "${SYSTMP}/${HOST_TRIPLET}-metadata.json.tmp" | tr '\n' ' ' | sed 's/}/},/g' | sed '$ s/,$//') "]" | sed '$s/,[[:space:]]*\]/\]/' | jq . | tee "${HF_REPO_PKGDIR}/METADATA.json.tmp"
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/healthchecks_housekeeping.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -375,12 +375,14 @@ jobs:
"bsum = \"\(.bsum)\"\n" +
"shasum = \"\(.shasum)\"\n" +
"build_date = \"\(.build_date)\"\n" +
"repology = \"\(.repology)\"\n" +
"src_url = \"\(.src_url)\"\n" +
"web_url = \"\(.web_url)\"\n" +
"build_script = \"\(.build_script)\"\n" +
"build_log = \"\(.build_log)\"\n" +
"category = \"\(.category)\"\n" +
"icon = \"https://pkg.ajam.dev/aarch64/\(.bin_name).icon.png\"\n" +
"desktop = \"\(.desktop)\"\n" +
"icon = \"\(.icon)\"\n" +
"extra_bins = \"\(.extra_bins)\"\n" +
"snapshots = [" +
( .snapshots | map("\"" + . + "\"") | join(", ")) +
Expand Down Expand Up @@ -526,11 +528,13 @@ jobs:
"bsum = \"\(.bsum)\"\n" +
"shasum = \"\(.shasum)\"\n" +
"build_date = \"\(.build_date)\"\n" +
"repology = \"\(.repology)\"\n" +
"src_url = \"\(.src_url)\"\n" +
"web_url = \"\(.web_url)\"\n" +
"build_script = \"\(.build_script)\"\n" +
"build_log = \"\(.build_log)\"\n" +
"category = \"\(.category)\"\n" +
"desktop = \"\(.desktop)\"\n" +
"icon = \"\(.icon)\"\n" +
"extra_bins = \"\(.extra_bins)\"\n" +
"snapshots = [" +
Expand Down

0 comments on commit c31a720

Please sign in to comment.