Skip to content
This repository was archived by the owner on Apr 21, 2022. It is now read-only.

Commit e9005cb

Browse files
committed
fix: rollout type
1 parent 4d69079 commit e9005cb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/tarballs/build.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,9 @@ export async function build(c: IConfig, options: {
8989
await pack(workspace, c.dist(key))
9090
if (xz) await pack(workspace, c.dist(config.s3Key('versioned', '.tar.xz', target)))
9191
if (!c.updateConfig.s3.host) return
92+
const rollout = (typeof c.updateConfig.autoupdate === 'object' && c.updateConfig.autoupdate.rollout)
9293
const manifest: IManifest = {
93-
rollout: (typeof c.updateConfig.autoupdate === 'object' && c.updateConfig.autoupdate.rollout) as number,
94+
rollout: rollout === false ? undefined : rollout,
9495
version: c.version,
9596
channel: c.channel,
9697
baseDir: config.s3Key('baseDir', target),

0 commit comments

Comments
 (0)