Skip to content

Commit 7e78e30

Browse files
committed
Fix Windows UI zip filename + clang-format store.c
- release.yml: UI zip now contains codebase-memory-mcp.exe (not -ui.exe), matching the Unix tar.gz convention (Fixes #110) - store.c: clang-format fix from PR #124 merge
1 parent 8f59934 commit 7e78e30

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -313,8 +313,8 @@ jobs:
313313
run: |
314314
BIN=build/c/codebase-memory-mcp
315315
[ -f "${BIN}.exe" ] && BIN="${BIN}.exe"
316-
cp "$BIN" codebase-memory-mcp-ui.exe
317-
zip codebase-memory-mcp-ui-windows-amd64.zip codebase-memory-mcp-ui.exe LICENSE
316+
cp "$BIN" codebase-memory-mcp.exe
317+
zip codebase-memory-mcp-ui-windows-amd64.zip codebase-memory-mcp.exe LICENSE
318318
319319
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
320320
with:

src/store/store.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2128,8 +2128,8 @@ int cbm_store_bfs(cbm_store_t *s, int64_t start_id, const char *direction, const
21282128
tlen = (int)sizeof(types_clause) - 1;
21292129
}
21302130
}
2131-
tlen += snprintf(types_clause + tlen, sizeof(types_clause) - (size_t)tlen, "?%d",
2132-
i + 1);
2131+
tlen +=
2132+
snprintf(types_clause + tlen, sizeof(types_clause) - (size_t)tlen, "?%d", i + 1);
21332133
if (tlen >= (int)sizeof(types_clause)) {
21342134
tlen = (int)sizeof(types_clause) - 1;
21352135
}

0 commit comments

Comments
 (0)