Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use
git describe
to get a coherent version
Instead of the tag, or a `dev` value which dont give much information, use `git describe` to generate a version that gives more information such as the last tag, how far away is the commit from that tag, and also a short commit hash and a dirty mark in case the working tree is dirty. This can then be used to generate binaries with this version which would be very useful in debugging. As part of this change, the version is applied to released image tags to get better information on the image. Signed-off-by: Mike Kolesnik <[email protected]>
- Loading branch information