Skip to content

Commit 6924dd3

Browse files
author
Kirill Belousov
committed
Bugfix: Fix version information embedding when building release
1 parent ebff406 commit 6924dd3

2 files changed

Lines changed: 7 additions & 13 deletions

File tree

.github/workflows/build-release.yml

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,8 @@ jobs:
2121
with:
2222
arch: x64
2323

24-
- name: Configure CMake
25-
run: cmake --preset=windows-msvc-x64-release
26-
27-
- name: Build project
28-
run: cmake --build --preset=release-x64
24+
- name: Configure and build
25+
run: scripts\build-release.bat
2926

3027
- name: Rename binary for release
3128
run: ren build\windows-msvc-x64-release\sim.exe sim-x64.exe
@@ -48,11 +45,8 @@ jobs:
4845
with:
4946
arch: x86
5047

51-
- name: Configure CMake
52-
run: cmake --preset=windows-msvc-x86-release
53-
54-
- name: Build project
55-
run: cmake --build --preset=release-x86
48+
- name: Configure and build
49+
run: scripts\build-release.bat
5650

5751
- name: Rename binary for release
5852
run: ren build\windows-msvc-x86-release\sim.exe sim-x86.exe
@@ -88,8 +82,8 @@ jobs:
8882

8983
- name: Generate CHANGELOG
9084
run: |
91-
chmod +x scripts/generate-changelog.sh
92-
scripts/generate-changelog.sh
85+
chmod +x scripts/generate-changelog.sh
86+
scripts/generate-changelog.sh
9387
9488
- name: Create release and upload binaries
9589
uses: softprops/action-gh-release@v2

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
cmake_minimum_required(VERSION 3.25)
2-
project(sim VERSION 1.5)
2+
project(sim VERSION 1.7)
33

44
set(CMAKE_CXX_STANDARD 23)
55
set(CMAKE_CXX_STANDARD_REQUIRED ON)

0 commit comments

Comments
 (0)