refactor: rename clawdbot to moltbot with legacy compat
This commit is contained in:
@@ -26,7 +26,7 @@ function ensureChangelogEntry(changelogPath: string, version: string): boolean {
|
||||
if (!existsSync(changelogPath)) return false;
|
||||
const content = readFileSync(changelogPath, "utf8");
|
||||
if (content.includes(`## ${version}`)) return false;
|
||||
const entry = `## ${version}\n\n### Changes\n- Version alignment with core Clawdbot release numbers.\n\n`;
|
||||
const entry = `## ${version}\n\n### Changes\n- Version alignment with core Moltbot release numbers.\n\n`;
|
||||
if (content.startsWith("# Changelog\n\n")) {
|
||||
const next = content.replace("# Changelog\n\n", `# Changelog\n\n${entry}`);
|
||||
writeFileSync(changelogPath, next);
|
||||
|
||||
Reference in New Issue
Block a user