Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Git describe is what you want.

it will take the nearest tag name and use that as the version with the number of commits from that tag as the release value.



Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: