Skip to content

Commit

Permalink
Include lightweight tags in git describe
Browse files Browse the repository at this point in the history
  • Loading branch information
brainplot committed Sep 21, 2021
1 parent 0e87eec commit 08a0e8b
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
Expand Up @@ -4,7 +4,7 @@ GOFMT ?= gofmt
PACKAGE := $(shell $(GOCMD) list)
NAME := $(notdir $(PACKAGE))
FULLCOMMIT := $(shell git rev-parse HEAD)
TAG := $(shell git describe --dirty)
TAG := $(shell git describe --tags --dirty)
VERSION := $(TAG:v%=%)
BUILD_VERSION := $(subst -,.,$(VERSION))

Expand Down

0 comments on commit 08a0e8b

Please sign in to comment.