Skip to content

Commit 845f841

Browse files
committed
Attempt to fix version reported by clickhouse.
Before fix it reported: 25.3.3.20139.altinityantalya.20139 (official build). instead of 25.3.3.20139.altinityantalya (altinity build).
1 parent a5892c1 commit 845f841

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
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.20000.altinityantalya)
17+
SET(VERSION_STRING 25.3.3)
1818
# end of autochange

cmake/version.cmake

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ if (VERSION_EXTRA)
1111
string(CONCAT VERSION_STRING ${VERSION_STRING} "." ${VERSION_EXTRA})
1212
endif ()
1313

14+
if (VERSION_FLAVOUR)
15+
string(CONCAT VERSION_STRING ${VERSION_STRING} "." ${VERSION_FLAVOUR})
16+
endif ()
17+
1418
set (VERSION_NAME "${PROJECT_NAME}")
1519
set (VERSION_FULL "${VERSION_NAME} ${VERSION_STRING}")
1620
set (VERSION_SO "${VERSION_STRING}")
@@ -19,5 +23,5 @@ set (VERSION_STRING_SHORT "${VERSION_MAJOR}.${VERSION_MINOR}")
1923
math (EXPR VERSION_INTEGER "${VERSION_PATCH} + ${VERSION_MINOR}*1000 + ${VERSION_MAJOR}*1000000")
2024

2125
if(CLICKHOUSE_OFFICIAL_BUILD)
22-
set(VERSION_OFFICIAL " (official build)")
26+
set(VERSION_OFFICIAL " (altinity build)")
2327
endif()

0 commit comments

Comments
 (0)