Automatic template versioning (#667)
Use version no of the following form: $(version)-$(timestamp)
This commit is contained in:
parent
d076d60d0d
commit
bd73bf990a
3
Makefile
3
Makefile
@ -3,7 +3,8 @@ $(error "You must set DIST variable, e.g. DIST=fc14")
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
TEMPLATE_NAME := $${DIST/fc/fedora-}-x64
|
TEMPLATE_NAME := $${DIST/fc/fedora-}-x64
|
||||||
VERSION := $(shell cat version)
|
TIMESTAMP := $(shell date -u +%Y%m%d-%H%M)
|
||||||
|
VERSION := $(shell cat version)-$(TIMESTAMP)
|
||||||
|
|
||||||
help:
|
help:
|
||||||
@echo "make rpms -- generate template rpm"
|
@echo "make rpms -- generate template rpm"
|
||||||
|
Loading…
Reference in New Issue
Block a user