Code Review
/
src
/
xds
/
xds-agent.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
57670b6
)
Always set sub-version
author
Sebastien Douheret
<sebastien.douheret@iot.bzh>
Mon, 6 Nov 2017 14:15:36 +0000
(15:15 +0100)
committer
Sebastien Douheret
<sebastien.douheret@iot.bzh>
Mon, 6 Nov 2017 14:31:52 +0000
(15:31 +0100)
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
51e1795
..
18638c6
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-12,6
+12,9
@@
SUB_VERSION := $(subst $(VERSION)-,,$(GIT_DESC))
ifeq ($(VERSION), )
VERSION := unknown-dev
endif
+ifeq ($(SUB_VERSION), )
+ SUB_VERSION := $(shell date +'%Y-%m-%d_%H%M%S')
+endif
# Configurable variables for installation (default /opt/AGL/...)
ifeq ($(origin DESTDIR), undefined)