Closed KlausVii closed 7 years ago
oh moreover it could be intersting to include the git sha1 of the commit of the build in the version. So if the user with a bug built borg himself, we can know with which exact version it was.
borg version 1.2.0 (linux/amd64 cab3bb14facc6eb6985e13f8a49ce3c662fa7d06)
.
git describe --tags
outputs: v0.0.2-50-g533652d
, where 50 is the number of commits since the v0.0.2 and 533652d
is the short SHA of the latest commit, so it already contains the exact version info.
hey this is working well, thanks for the PR !
Issue #35 version is created from