Skip to content

Commit f224d11

Browse files
committed
Remove --abbrev=0 from git describe call
Otherwise, local build that aren't from a tag can't be distinguished
1 parent 4de4160 commit f224d11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.SILENT :
22
.PHONY : docker-gen clean fmt
33

4-
TAG:=`git describe --abbrev=0 --tags`
4+
TAG:=`git describe --tags`
55
LDFLAGS:=-X main.buildVersion $(TAG)
66

77
all: docker-gen

0 commit comments

Comments
 (0)