fix: restore release index publication
Cross-platform packages / Validate source (push) Canceled after 0s
Cross-platform packages / linux arm64 (push) Canceled after 0s
Cross-platform packages / macos arm64 (push) Canceled after 0s
Cross-platform packages / windows arm64 (push) Canceled after 0s
Cross-platform packages / linux x64 (push) Canceled after 0s
Cross-platform packages / macos x64 (push) Canceled after 0s
Cross-platform packages / windows x64 (push) Canceled after 0s
Cross-platform packages / Publish GitHub and OSS release (push) Canceled after 0s

The v0.10.2 native packages completed, but the publication job rejected the valid --base-url option before any GitHub Release or mirror assets were published. Normalize CLI option names and cover the exact workflow arguments with a regression test.

Advance recovery metadata to 0.10.3 and move the approved user-facing notes forward, removing the unpublished 0.10.2 note to avoid a duplicate first-open display.

Release note: 0.10.3 carries forward the approved mirror-node and conversation timestamp improvements from the unpublished 0.10.2 candidate.
This commit is contained in:
mesalogo
2026-08-17 21:21:07 +08:00
parent 255df74d87
commit 7ecb735db0
5 changed files with 37 additions and 12 deletions
+23
View File
@@ -1,4 +1,5 @@
import { createRequire } from 'node:module'
import { resolve } from 'node:path'
import { describe, expect, it, vi } from 'vitest'
interface ReleaseFile {
@@ -9,6 +10,11 @@ interface ReleaseFile {
}
interface SiteReleaseModule {
parseArguments: (argv: string[]) => {
manifest: string
baseUrl: string
output: string
}
createSiteRelease: (
manifest: object,
baseUrl: string
@@ -68,6 +74,23 @@ function createAggregateManifest() {
}
describe('site release manifest', () => {
it('parses the CLI options used by the release workflow', () => {
expect(
siteRelease.parseArguments([
'--manifest',
'dist/release-upload/release-manifest.json',
'--base-url',
'https://example.com/releases/v1.2.3/',
'--output',
'dist/site-release.json'
])
).toEqual({
manifest: resolve('dist/release-upload/release-manifest.json'),
baseUrl: 'https://example.com/releases/v1.2.3/',
output: resolve('dist/site-release.json')
})
})
it('creates direct HTTPS download entries for all release targets', () => {
const result = siteRelease.createSiteRelease(
createAggregateManifest(),