[build.sh] Now echoes REPO_VERSION
This commit is contained in:
parent
7954dc393e
commit
76aa6fc6d9
1 changed files with 1 additions and 0 deletions
1
build.sh
1
build.sh
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue