mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
libcommon: Support for invoking from /tmp. [#METRIQA-600]
This commit is contained in:
parent
050fc63694
commit
b72ecc383d
@ -8,6 +8,7 @@ function get_revision {
|
||||
BASEDIR=`dirname "$0"`
|
||||
CURDIR=`pwd`
|
||||
cd ${BASEDIR}
|
||||
git rev-parse --git-dir 2>/dev/null || cd ${CURDIR}
|
||||
git fetch --tags
|
||||
git tag | tag_filter | tail -1 | sed 's/^v1\.1\.\(.*\)-testing$/\1/'
|
||||
cd ${CURDIR}
|
||||
|
Loading…
Reference in New Issue
Block a user