Don’t automatically populate release with dev when not generating a version based off git vars

This commit is contained in:
Matt Keeler 2018-06-18 13:20:12 -04:00
parent 46cfa577b0
commit fcd1811402
1 changed files with 1 additions and 1 deletions

View File

@ -168,7 +168,7 @@ function parse_version {
# When no GIT_DESCRIBE env var is present and no release is in the source then we
# are definitely in dev mode
if test -z "${git_version}" -a -z "${rel_ver}"
if test -z "${git_version}" -a -z "${rel_ver}" && is_set "${use_git_env}"
then
rel_ver="dev"
fi