Skip to content

Commit bd8760d

Browse files
committed
Fix reported version of clickhouse binary
1 parent 2118905 commit bd8760d

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

cmake/autogenerated_versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ SET(VERSION_TWEAK 20000)
1414
SET(VERSION_FLAVOUR altinityantalya)
1515

1616
SET(VERSION_DESCRIBE v25.3.3.20000.altinityantalya)
17-
SET(VERSION_STRING 25.3.3)
17+
SET(VERSION_STRING 25.3.3.20000.altinityantalya)
1818
# end of autochange

cmake/version.cmake

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,15 @@ include(${PROJECT_SOURCE_DIR}/cmake/autogenerated_versions.txt)
33
set(VERSION_EXTRA "" CACHE STRING "")
44
set(VERSION_TWEAK "" CACHE STRING "")
55

6-
if (VERSION_TWEAK)
7-
string(CONCAT VERSION_STRING ${VERSION_STRING} "." ${VERSION_TWEAK})
8-
endif ()
6+
# NOTE(vnemkov): we rely on VERSION_TWEAK portion to be already present in VERSION_STRING
7+
# if (VERSION_TWEAK)
8+
# string(CONCAT VERSION_STRING ${VERSION_STRING} "." ${VERSION_TWEAK})
9+
# endif ()
910

1011
if (VERSION_EXTRA)
1112
string(CONCAT VERSION_STRING ${VERSION_STRING} "." ${VERSION_EXTRA})
1213
endif ()
1314

14-
if (VERSION_FLAVOUR)
15-
string(CONCAT VERSION_STRING ${VERSION_STRING} "." ${VERSION_FLAVOUR})
16-
endif ()
17-
1815
set (VERSION_NAME "${PROJECT_NAME}")
1916
set (VERSION_FULL "${VERSION_NAME} ${VERSION_STRING}")
2017
set (VERSION_SO "${VERSION_STRING}")

0 commit comments

Comments
 (0)