default VERSION to development

This commit is contained in:
Lance Vick 2024-08-02 21:44:19 -07:00
parent 24725ea630
commit f0270a2862
Signed by: lrvick
GPG Key ID: 8E47A1EC35A1551D
1 changed files with 2 additions and 1 deletions

View File

@ -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