From 7ab3297768f72305103f1e70fe771e97e0f2a3c1 Mon Sep 17 00:00:00 2001 From: JSONbored <49853598+JSONbored@users.noreply.github.com> Date: Sun, 14 Jun 2026 15:25:41 -0700 Subject: [PATCH] fix(release): keep UI known-latest at 0.5.0 until mcp-v0.6.0 publishes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The mcp-v0.6.0 publish gate (test:release:mcp -> test:ci -> ui:version-audit) failed: ui:version-audit requires MCP_PACKAGE_KNOWN_LATEST_VERSION to equal npm dist-tags.latest, which is still 0.5.0 until 0.6.0 actually ships. The release commit wrongly bumped this pin to 0.6.0 ahead of publish. Match the established pattern (the mcp-v0.5.0 tag carried UI known-latest "0.4.0"): this fallback pin lags one release and is bumped only AFTER the new version publishes. package.json (0.6.0) + backend LATEST_RECOMMENDED (0.6.0) are unchanged — those correctly lead. No publish occurred (gate failed first). --- apps/gittensory-ui/src/lib/mcp-package.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/gittensory-ui/src/lib/mcp-package.ts b/apps/gittensory-ui/src/lib/mcp-package.ts index e09d6e228a..398bdf0a09 100644 --- a/apps/gittensory-ui/src/lib/mcp-package.ts +++ b/apps/gittensory-ui/src/lib/mcp-package.ts @@ -6,7 +6,9 @@ export const MCP_PACKAGE_NAME = "@jsonbored/gittensory-mcp"; export const MCP_PACKAGE_ENCODED_NAME = "@jsonbored%2fgittensory-mcp"; export const MCP_PACKAGE_REGISTRY_URL = `https://registry.npmjs.org/${MCP_PACKAGE_ENCODED_NAME}`; export const MCP_PACKAGE_NPM_URL = `https://www.npmjs.com/package/${MCP_PACKAGE_NAME}`; -export const MCP_PACKAGE_KNOWN_LATEST_VERSION = "0.6.0"; +// Lags one release behind by design: ui:version-audit requires this to equal npm dist-tags.latest, so it is +// bumped to the new version only AFTER that version publishes (npm latest is still 0.5.0 until mcp-v0.6.0 ships). +export const MCP_PACKAGE_KNOWN_LATEST_VERSION = "0.5.0"; export const MCP_MINIMUM_SUPPORTED_VERSION = "0.5.0"; export type NpmPackageMetadata = {