]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commit
cephmetrics: Add support for versioning with git tags 833/head
authorBoris Ranto <branto@redhat.com>
Wed, 16 Aug 2017 10:55:47 +0000 (12:55 +0200)
committerBoris Ranto <branto@redhat.com>
Wed, 16 Aug 2017 10:56:28 +0000 (12:56 +0200)
commit2847b05527e18ada7d829fdf7649e7132f87b51f
treefb66d898dfb5183595f74de9acc1654e3628bad7
parentfcd9ecd7e761a0e6c6e2bacb8e8f602259b21a16
cephmetrics: Add support for versioning with git tags

This will try to use git describe to get the current version and release
and fall back to the old method if HEAD is not part of any tag.

Signed-off-by: Boris Ranto <branto@redhat.com>
cephmetrics/build/build_rpm