default VERSION to development
This commit is contained in:
parent
24725ea630
commit
f0270a2862
3
Makefile
3
Makefile
|
@ -3,6 +3,7 @@ GIT_REF := $(shell git log -1 --format=%H)
|
|||
GIT_AUTHOR := $(shell git log -1 --format=%an)
|
||||
GIT_KEY := $(shell git log -1 --format=%GP)
|
||||
GIT_TIMESTAMP := $(shell git log -1 --format=%cd --date=iso)
|
||||
VERSION := development
|
||||
export
|
||||
|
||||
## Use env vars from latest release when reproducing
|
||||
|
@ -109,7 +110,7 @@ reproduce: clean | out
|
|||
out:
|
||||
mkdir -p $@
|
||||
|
||||
out/release.env: $(shell git ls-files)
|
||||
out/release.env: $(shell git ls-files) | out
|
||||
echo 'VERSION=$(VERSION)' > out/release.env
|
||||
echo 'GIT_REF=$(GIT_REF)' >> out/release.env
|
||||
echo 'GIT_AUTHOR=$(GIT_AUTHOR)' >> out/release.env
|
||||
|
|
Loading…
Reference in New Issue