The fast-moving desktop prerelease channel is now "canary" everywhere: the tag shape (vX.Y.Z-canary.<ts>), the electron-updater/R2 feed dirs (canary.yml / releases/<os>/canary/), the update-channel consts and CLI choices, the MSIX build-number derivation, the App Installer channel paths, and the Windows Store flight var (MS_STORE_CANARY_FLIGHT_ID). Also renames the scheduled workflow to canary-release.yml and the release test file to test_release_canary.py, and flips the CLI flags (--canary / --prune-canaries / prune-canaries subcommand). Unrelated "nightly" mentions are untouched: Brave's own browser channel (browser_connect), cron scheduling prose (README, i18n, cron/browser/ kanban docs, zh-Hans), upstream skill docs (comfyui/unsloth/torchtitan), evals fixtures, Node's node-nightly prereleases, and cron job names in gateway tests. Note: MS_STORE_NIGHTLY_FLIGHT_ID was renamed to MS_STORE_CANARY_FLIGHT_ID in the workflow — the matching repo/org variable on GitHub must be renamed in repo settings for the Store flight ring to keep working.
15 lines
544 B
JavaScript
15 lines
544 B
JavaScript
import assert from 'node:assert/strict'
|
|
import { test } from 'vitest'
|
|
|
|
import { windowsFileVersion } from './windows-file-version.mjs'
|
|
|
|
test('stable tags leave VERSIONINFO to electron-builder', () => {
|
|
assert.equal(windowsFileVersion('v0.20.5'), null)
|
|
assert.equal(windowsFileVersion('v0.28.0'), null)
|
|
})
|
|
|
|
test('canary tags pack the timestamp into a legal quad', () => {
|
|
assert.equal(windowsFileVersion('v0.28.0-canary.20260819171926'), '2026.819.1719.26')
|
|
assert.equal(windowsFileVersion('v0.20.5-canary.20260826'), '2026.826.0.0')
|
|
})
|