build: add time as version when version is not set
This commit is contained in:
parent
3d51776e9a
commit
7ea9306fc4
1 changed files with 2 additions and 1 deletions
3
Makefile
3
Makefile
|
@ -10,7 +10,8 @@ BIN = git-sv
|
|||
|
||||
ECHOFLAGS ?=
|
||||
|
||||
VERSION ?=
|
||||
BUILD_TIME = $(shell date +"%Y%m%d%H%M")
|
||||
VERSION ?= dev-$(BUILD_TIME)
|
||||
|
||||
BUILDOS ?= linux
|
||||
BUILDARCH ?= amd64
|
||||
|
|
Loading…
Reference in a new issue