Skip to content

Commit 12b1973

Browse files
committed
publish windows builds as supporting fast updates
1 parent 011c4f9 commit 12b1973

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

build/tfs/common/publish.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ interface Asset {
6969
hash: string;
7070
sha256hash: string;
7171
size: number;
72+
supportsFastUpdate?: boolean;
7273
}
7374

7475
function createOrUpdate(commit: string, quality: string, platform: string, type: string, release: NewDocument, asset: Asset, isUpdate: boolean): Promise<void> {
@@ -234,6 +235,11 @@ async function publish(commit: string, quality: string, platform: string, type:
234235
size
235236
};
236237

238+
// Remove this if we ever need to rollback fast updates for windows
239+
if (/win32/.test(platform)) {
240+
asset.supportsFastUpdate = true;
241+
}
242+
237243
const release = {
238244
id: commit,
239245
timestamp: (new Date()).getTime(),

0 commit comments

Comments
 (0)