Skip to content

Commit

Permalink
fix package version handling
Browse files Browse the repository at this point in the history
  • Loading branch information
pit-ray committed Jan 30, 2023
1 parent ab6fd58 commit b2a58eb
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
cmake_minimum_required(VERSION 3.6.0)
project(win-vind VERSION 5.0.0.5)
project(win-vind VERSION 5.0.0)
set(INTERNAL_VERSION 5.0.0.6)

if(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE Debug)
Expand Down
2 changes: 1 addition & 1 deletion build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
cmake -B debug -DCMAKE_BUILD_TYPE=Debug -G "Visual Studio 16 2019" -A win32 .
cmake --build debug --config Debug
) else (
cmake -B debug -DCMAKE_BUILD_TYPE=Debug -G "Visual Studio 16 2019" -A x64 .
INTERNALcmake -B debug -DCMAKE_BUILD_TYPE=Debug -G "Visual Studio 16 2019" -A x64 .
cmake --build debug --config Debug
)

Expand Down
2 changes: 1 addition & 1 deletion res/build_assets/version.hpp.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#ifndef _VERSION_HPP
#define _VERSION_HPP

#define WIN_VIND_VERSION "@PROJECT_VERSION@"
#define WIN_VIND_VERSION "@INTERNAL_VERSION@"

#endif
2 changes: 1 addition & 1 deletion src/core/version.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#ifndef _VERSION_HPP
#define _VERSION_HPP

#define WIN_VIND_VERSION "5.0.0.5"
#define WIN_VIND_VERSION "5.0.0.6"

#endif

0 comments on commit b2a58eb

Please sign in to comment.