feat(update): consolidate update msgs and format at end

This commit is contained in:
matt1432 2024-07-21 01:17:10 -04:00
parent 262bcedbd2
commit 44d56aab0f
2 changed files with 46 additions and 4 deletions
apps/update/src

View file

@ -14,8 +14,10 @@ export const updateFlakeInputs = () => {
{ shell: true },
).stdout
.toString()
// Add an extra blank line between inputs
.split('\n•')
.join('\n\n•')
// Shorten git revs to help readability
.split('\n')
.map((l) => l
.replace(/.{33}\?narHash=sha256[^']*/, '')