mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 10:20:08 +00:00
fixed Makefile version handling...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
ec301c6fa4
commit
b38712e574
@ -152,7 +152,7 @@ VERSION_FALLBACK ?= 4.0.0a
|
|||||||
# NOTE: we are not using './ig --version 2> /dev/null' because it will
|
# NOTE: we are not using './ig --version 2> /dev/null' because it will
|
||||||
# not work before we do 'npm install'...
|
# not work before we do 'npm install'...
|
||||||
VERSION := $(strip $(shell \
|
VERSION := $(strip $(shell \
|
||||||
node version.js \
|
echo 'console.log(require("./version").version)' | node - \
|
||||||
|| echo $(VERSION_FALLBACK)))
|
|| echo $(VERSION_FALLBACK)))
|
||||||
DATE := $(strip $(shell date "+%Y%m%d%H%M"))
|
DATE := $(strip $(shell date "+%Y%m%d%H%M"))
|
||||||
COMMIT := $(strip $(shell git rev-parse HEAD))
|
COMMIT := $(strip $(shell git rev-parse HEAD))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user