mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 00:52:02 +00:00
Fix generating release version.
This commit is contained in:
parent
8d4a08cf9f
commit
d59f34f052
@ -1,5 +0,0 @@
|
||||
# Get last revision number
|
||||
function get_revision {
|
||||
BASEDIR=`dirname "$0"`
|
||||
grep "set(VERSION_REVISION" ${BASEDIR}/libs/libcommon/cmake/version.cmake | sed 's/^.*VERSION_REVISION \(.*\))$/\1/'
|
||||
}
|
@ -1,4 +1,7 @@
|
||||
source "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/libs/libcommon/src/get_revision_lib.sh"
|
||||
function get_revision {
|
||||
BASEDIR=$(dirname "${BASH_SOURCE[0]}")
|
||||
grep "set(VERSION_REVISION" ${BASEDIR}/libs/libcommon/cmake/version.cmake | sed 's/^.*VERSION_REVISION \(.*\))$/\1/'
|
||||
}
|
||||
|
||||
function add_daemon_impl {
|
||||
local daemon=$1
|
||||
@ -61,7 +64,6 @@ function gen_revision_author {
|
||||
|
||||
if [[ $STANDALONE != 'yes' ]]
|
||||
then
|
||||
#needed for libs/libcommon/src/get_revision_lib.sh
|
||||
git fetch --tags
|
||||
|
||||
# Создадим номер ревизии и попытаемся залить на сервер.
|
||||
|
Loading…
Reference in New Issue
Block a user