mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 09:50:42 +00:00
fix(status): report beta registry channel
This commit is contained in:
@@ -6,12 +6,14 @@ import {
|
||||
import { readConfigFileSnapshot } from "../../config/config.js";
|
||||
import {
|
||||
normalizeUpdateChannel,
|
||||
resolveRegistryUpdateChannel,
|
||||
resolveUpdateChannelDisplay,
|
||||
} from "../../infra/update-channels.js";
|
||||
import { checkUpdateStatus } from "../../infra/update-check.js";
|
||||
import { defaultRuntime } from "../../runtime.js";
|
||||
import { getTerminalTableWidth, renderTable } from "../../terminal/table.js";
|
||||
import { theme } from "../../terminal/theme.js";
|
||||
import { VERSION } from "../../version.js";
|
||||
import { parseTimeoutMsOrExit, resolveUpdateRoot, type UpdateStatusOptions } from "./shared.js";
|
||||
|
||||
function formatGitStatusLine(params: {
|
||||
@@ -47,10 +49,15 @@ export async function updateStatusCommand(opts: UpdateStatusOptions): Promise<vo
|
||||
timeoutMs: timeoutMs ?? 3500,
|
||||
fetchGit: true,
|
||||
includeRegistry: true,
|
||||
registryChannel: resolveRegistryUpdateChannel({
|
||||
configChannel,
|
||||
currentVersion: VERSION,
|
||||
}),
|
||||
});
|
||||
|
||||
const channelInfo = resolveUpdateChannelDisplay({
|
||||
configChannel,
|
||||
currentVersion: VERSION,
|
||||
installKind: update.installKind,
|
||||
gitTag: update.git?.tag ?? null,
|
||||
gitBranch: update.git?.branch ?? null,
|
||||
|
||||
Reference in New Issue
Block a user