feat(updateScript): clean up output

This commit is contained in:
matt1432 2024-10-30 02:27:07 -04:00
parent 8fa5398008
commit 8570bf8ef4
5 changed files with 69 additions and 62 deletions
apps/update/src

View file

@ -23,6 +23,13 @@ export const updateFlakeInputs = () => {
.map((l) => l
.replace(/.{33}\?narHash=sha256[^']*/, '')
.replace(/&rev=(.{7})[^'&]*/, (_, backref) => `&rev=${backref}`))
.filter((input) => ![
'systems',
'flake-utils',
'flake-parts',
'treefmt-nix',
'lib-aggregate',
].some((inputName) => input.startsWith(`• Updated input '${inputName}'`)))
.join('\n');
return output;