Skip to content

Commit

Permalink
Merge pull request #168 from bobrik/ivan/use-tags-in-git-secribe
Browse files Browse the repository at this point in the history
Supply --tags to git describe to get the right version
  • Loading branch information
bobrik authored Oct 31, 2022
2 parents 54c9bd2 + bd20ca0 commit 6dbc9cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
BUILD_VAR_PREFIX := github.com/prometheus/common/version
BUILD_VERSION := $(shell git describe)
BUILD_VERSION := $(shell git describe --tags)
BUILD_BRANCH := $(shell git rev-parse --abbrev-ref HEAD)
BUILD_REVISION := $(shell git rev-parse --short HEAD)
BUILD_USER := $(shell id -u -n)@$(shell hostname)
Expand Down

0 comments on commit 6dbc9cd

Please sign in to comment.