0
0
mirror of https://github.com/thegeeklab/git-sv.git synced 2024-06-02 17:39:39 +02:00

build: add time as version when version is not set

This commit is contained in:
Beatriz Vieira 2020-02-01 18:44:51 -03:00
parent 3d51776e9a
commit 7ea9306fc4

View File

@ -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