Skip to content

Commit 8b5135b

Browse files
committed
docs: update release command to preserve full version history in appcast by setting maximum-versions to 0
1 parent 32ddf36 commit 8b5135b

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

scripts/commands/release.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -360,13 +360,20 @@ export const releaseCommand = new Command("release")
360360
// forward. Artifacts ship from dao-release.msgbyte.com — keep this
361361
// in sync with website/public/appcast.xml and the R2 bucket's
362362
// custom-domain binding.
363+
//
364+
// --maximum-versions 0 preserves every <item> in the seeded appcast.
365+
// Default is 3, which silently prunes older releases out of the feed
366+
// each time we ship. The website's /history page reads this file to
367+
// list every shipped version, so we need the full history retained.
363368
await runStep(
364369
opts.dryRun,
365370
"Generating Sparkle appcast",
366371
generateAppcast,
367372
[
368373
"--download-url-prefix",
369374
"https://dao-release.msgbyte.com/",
375+
"--maximum-versions",
376+
"0",
370377
path.join(ROOT_DIR, "dist"),
371378
]
372379
);

0 commit comments

Comments
 (0)