mirror of
https://github.com/status-im/consul.git
synced 2025-01-09 13:26:07 +00:00
Don’t automatically populate release with dev when not generating a version based off git vars
This commit is contained in:
parent
46cfa577b0
commit
fcd1811402
@ -168,7 +168,7 @@ function parse_version {
|
|||||||
|
|
||||||
# When no GIT_DESCRIBE env var is present and no release is in the source then we
|
# When no GIT_DESCRIBE env var is present and no release is in the source then we
|
||||||
# are definitely in dev mode
|
# 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
|
then
|
||||||
rel_ver="dev"
|
rel_ver="dev"
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user