mirror of
https://github.com/ncarlier/webhookd.git
synced 2025-04-12 22:24:03 +00:00
chore: fix GIT version extracting
This commit is contained in:
parent
aad75eba08
commit
8e6cf467dd
2
Makefile
2
Makefile
|
@ -19,7 +19,7 @@ EXECUTABLE=$(APPNAME)$(EXT)
|
||||||
|
|
||||||
# Extract version infos
|
# Extract version infos
|
||||||
PKG_VERSION:=github.com/ncarlier/$(APPNAME)/pkg/version
|
PKG_VERSION:=github.com/ncarlier/$(APPNAME)/pkg/version
|
||||||
VERSION:=`git describe --always --dirty`
|
VERSION:=`git describe --always --tags --dirty`
|
||||||
GIT_COMMIT:=`git rev-list -1 HEAD --abbrev-commit`
|
GIT_COMMIT:=`git rev-list -1 HEAD --abbrev-commit`
|
||||||
BUILT:=`date`
|
BUILT:=`date`
|
||||||
define LDFLAGS
|
define LDFLAGS
|
||||||
|
|
Loading…
Reference in New Issue
Block a user