mirror of
https://github.com/leanprover/lean4.git
synced 2026-03-17 18:34:06 +00:00
This PR fixes a parsing bug in \`release_checklist.py\` introduced by https://github.com/leanprover/lean4/pull/12700, which reformatted \`src/CMakeLists.txt\` to use \`CACHE STRING \"\"\`: \`\`\`cmake set(LEAN_VERSION_MINOR 30 CACHE STRING "") \`\`\` The old code used \`split()[-1].rstrip(")")\` to extract the version number, which now yields \`""\` (the empty string argument) instead of the minor version. Use a regex to extract the digit directly. 🤖 Prepared with Claude Code Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>