Skip to content

Commit

Permalink
cmake: Fix release version for 1.13.0
Browse files Browse the repository at this point in the history
We need to set certain fields before release.

Signed-off-by: Denys Fedoryshchenko <[email protected]>
  • Loading branch information
nuclearcat committed Mar 30, 2024
1 parent fd46f0d commit dbffa39
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ IF (EXISTS ${CMAKE_HOME_DIRECTORY}/.git AND NOT IGNORE_GIT)
)
STRING(STRIP ${ACCEL_PPP_VERSION} ACCEL_PPP_VERSION)
ELSE (EXISTS ${CMAKE_HOME_DIRECTORY}/.git AND NOT IGNORE_GIT)
SET (ACCEL_PPP_VERSION 1.12.0)
SET (ACCEL_PPP_VERSION 1.13.0)
ENDIF (EXISTS ${CMAKE_HOME_DIRECTORY}/.git AND NOT IGNORE_GIT)

# we must include cpack.cmake after generating the ACCEL_PPP_VERSION variable
Expand Down
2 changes: 1 addition & 1 deletion cmake/cpack.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ string(REPLACE "." ";" VERSION_LIST ${ACCEL_PPP_VERSION})
# If not assign dummy variables
list(LENGTH VERSION_LIST VERSION_LIST_LENGTH)
if(NOT VERSION_LIST_LENGTH EQUAL 3)
set(VERSION_LIST 1;12;0)
set(VERSION_LIST 1;13;0)
endif()
list(GET VERSION_LIST 0 CPACK_PACKAGE_VERSION_MAJOR)
list(GET VERSION_LIST 1 CPACK_PACKAGE_VERSION_MINOR)
Expand Down

0 comments on commit dbffa39

Please sign in to comment.