2 ms·
git describe gives you what you want. It gives you the nearest tag, the number of commits from that tag and the git commit ID.
by rswail 2y ago
git describe gives you what you want.
It gives you the nearest tag, the number of commits from that tag and the git commit ID.
- jillesvangurp 2y agoWe don't use git tags for ordinary deploys. Every push to production gets deployed. And a timestamp is useful for sorting lists of container images.