[build.sh] Now echoes REPO_VERSION

This commit is contained in:
ayakael 2018-07-02 07:08:04 -08:00
parent 7954dc393e
commit 76aa6fc6d9
No known key found for this signature in database
GPG key ID: 575626A4AE5F4026

View file

@ -31,6 +31,7 @@ gen_env() {
echo -e "#!/bin/bash\n"
[[ $(git describe --tags) ]] && VERSION=$(git describe --tags) || VERSION=$(cat VERSION)
echo "VERSION=${VERSION}"
echo "REPO_VERSION=1"
awk '!/^ *#/ && NF' src/env
}