release: allow to run without configured git (use current USER from env) (#991)

This commit is contained in:
proller 2017-07-17 15:48:55 +03:00 committed by GitHub
parent 295459e89e
commit f068a3edca

View File

@ -69,14 +69,14 @@ function gen_revision_author {
fi
AUTHOR=$(git config --get user.name)
AUTHOR=$(git config --get user.name || echo ${USER})
export REVISION
export AUTHOR
}
function get_revision_author {
REVISION=$(get_revision)
AUTHOR=$(git config --get user.name)
AUTHOR=$(git config --get user.name || echo ${USER})
export REVISION
export AUTHOR
}