pushed
zhengqunkoo/ttyd • 12:58 AM - Mar 29, 2024
This change replaces the hardcoded project version in CMake with a small helper module that reads the semantic version from git describe and the short commit SHA from the current ref. That means tagged builds can report an accurate release version, while development builds still include commit-specific metadata for traceability. It also raises the minimum CMake version to 3.12 to support the cleaner project(... VERSION ...) flow. In practice, build artifacts should now identify themselves more reliably across releases and snapshots.
