mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +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
|
fi
|
||||||
|
|
||||||
AUTHOR=$(git config --get user.name)
|
AUTHOR=$(git config --get user.name || echo ${USER})
|
||||||
export REVISION
|
export REVISION
|
||||||
export AUTHOR
|
export AUTHOR
|
||||||
}
|
}
|
||||||
|
|
||||||
function get_revision_author {
|
function get_revision_author {
|
||||||
REVISION=$(get_revision)
|
REVISION=$(get_revision)
|
||||||
AUTHOR=$(git config --get user.name)
|
AUTHOR=$(git config --get user.name || echo ${USER})
|
||||||
export REVISION
|
export REVISION
|
||||||
export AUTHOR
|
export AUTHOR
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user