Browse Source

Merge pull request #481 from oleorhagen/fx-linkbot

chore: fix the bot monitoring of the bb images
create-pull-request/patch
Lluis Campos 2 years ago
committed by GitHub
parent
commit
2221ad3b92
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      scripts/linkbot/monitor-bb.js

4
scripts/linkbot/monitor-bb.js

@ -10,8 +10,8 @@ export const checkForUpdates = ({ url, latestDate }) =>
if (date === latestDate) {
return;
}
const consoleLinks = await getLinksByMatch(matches[0].link, 'buster-console');
const result = await getLinksByMatch(consoleLinks[0].link, 'bone-debian.*.img.xz$').then((links) => `${target}=\"${links[0].link}\"`);
const consoleLinks = await getLinksByMatch(matches[0].link, 'bullseye-minimal-arm64');
const result = await getLinksByMatch(consoleLinks[0].link, 'bbai64-debian.*.img.xz$').then((links) => `${target}=\"${links[0].link}\"`);
return { newLine: result };
});

Loading…
Cancel
Save