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.



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

Search: