mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 00:30:49 +00:00
release: allow to run without configured git (use current USER from env) (#991)
This commit is contained in:
parent
295459e89e
commit
f068a3edca
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user