From 7ea9306fc47e75cd56b640e5cf1e3f2e87eec747 Mon Sep 17 00:00:00 2001 From: Beatriz Vieira Date: Sat, 1 Feb 2020 18:44:51 -0300 Subject: [PATCH] build: add time as version when version is not set --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 67d80a5..862c50e 100644 --- a/Makefile +++ b/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