Skip to content

Commit c9b1c06

Browse files
danbevggerganov
authored andcommitted
ggml : remove -dev suffix from release version (ggml/1355)
This commit removes the `-dev` suffix from the version string in CMakeLists.txt and the release script. The version will now be just be formatted as `MAJOR.MINOR.PATCH`.
1 parent b6ae75a commit c9b1c06

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

ggml/CMakeLists.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ project("ggml" C CXX ASM)
55
set(GGML_VERSION_MAJOR 0)
66
set(GGML_VERSION_MINOR 9)
77
set(GGML_VERSION_PATCH 3)
8-
set(GGML_VERSION_DEV "") # "-dev" for development, "" for releases
98
set(GGML_VERSION_BASE "${GGML_VERSION_MAJOR}.${GGML_VERSION_MINOR}.${GGML_VERSION_PATCH}")
109

1110
find_program(GIT_EXE NAMES git git.exe NO_CMAKE_FIND_ROOT_PATH)
@@ -26,8 +25,8 @@ if(GIT_EXE)
2625
)
2726
endif()
2827

29-
# Build the version string with optional -dev suffix and dirty flag
30-
set(GGML_VERSION "${GGML_VERSION_BASE}${GGML_VERSION_DEV}")
28+
# Build the version string with optional dirty flag
29+
set(GGML_VERSION "${GGML_VERSION_BASE}")
3130
if(GGML_GIT_DIRTY AND NOT GGML_GIT_DIRTY EQUAL 0)
3231
set(GGML_VERSION "${GGML_VERSION}-dirty")
3332
endif()

0 commit comments

Comments
 (0)