Release script: plain commit messages

This commit is contained in:
collector
2026-12-06 12:53:39 +01:00
parent 7fa1f9e98d
commit 017b9a0f13

View File

@@ -47,13 +47,13 @@ rmSync(staging, { recursive: true, force: true });
const run = (cmd, cwd = root) => execSync(cmd, { cwd, stdio: "inherit" });
run("git add -A");
run(`git commit -m "v${version}\n\nCo-Authored-By: Claude Code <noreply@anthropic.com>" || true`);
run(`git commit -m "v${version}" || true`);
run(`git tag v${version}`);
run("git push origin main");
run(`git push origin v${version}`);
if (existsSync(path.join(landing, ".git"))) {
run("git add -A", landing);
run(`git commit -m "extension v${version}\n\nCo-Authored-By: Claude Code <noreply@anthropic.com>" || true`, landing);
run(`git commit -m "extension v${version}" || true`, landing);
run("git push origin main", landing);
}
console.log(`released ${version}`);