build: Allow environment EXIM_RELEASE_VERSION
authorHeiko Schlittermann (HS12-RIPE) <hs@schlittermann.de>
Fri, 2 Apr 2021 10:37:15 +0000 (12:37 +0200)
committerHeiko Schlittermann (HS12-RIPE) <hs@schlittermann.de>
Fri, 2 Apr 2021 21:58:38 +0000 (23:58 +0200)
commit47e7b0467bf1af70378ed5fd4accfb4da60e38bb
tree83a4ac2ce486b14a9c6634fbfb68bf9ac3be17e7
parentf779a7442b3269dd65f5cebe5fe3815a1d61771b
build: Allow environment EXIM_RELEASE_VERSION

This should easy automated testing where no .git directory
is available (as is happens with git worktrees)

Setting this environment variable makes the reversion script
using it instead of searching for version.sh or using `git describe`.
src/scripts/reversion