Use git has as build number
This commit is contained in:
parent
423de55daa
commit
454b42c2d7
2
Makefile
2
Makefile
@ -1,7 +1,7 @@
|
|||||||
PROJECTNAME="Bird Bot"
|
PROJECTNAME="Bird Bot"
|
||||||
PROJECT_BIN="birdbot"
|
PROJECT_BIN="birdbot"
|
||||||
VERSION="DEV"
|
VERSION="DEV"
|
||||||
BUILD_NUMBER:=$(shell date "+%s%N" | cut -b1-13)
|
BUILD_NUMBER:=$(shell git rev-parse --short HEAD)
|
||||||
|
|
||||||
# Go related variables.
|
# Go related variables.
|
||||||
GOBASE=$(shell pwd)
|
GOBASE=$(shell pwd)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user