Skip to content

Commit e013bc9

Browse files
committed
Try to fix version numbers in GitHub builds by fetching tags too (treeless clone).
1 parent 12760f0 commit e013bc9

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

.github/workflows/build.yml

+2
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ jobs:
4040
steps:
4141
- uses: actions/checkout@v4
4242
with:
43+
fetch-depth: 0
44+
filter: tree:0 #treeless clone, tags are preserved (possible issues with fetch-tags and fetch-depth 1)
4345
path: jabs
4446

4547
- name: Install Qt

.github/workflows/build_windows.yml

+2
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ jobs:
1313
steps:
1414
- uses: actions/checkout@v4
1515
with:
16+
fetch-depth: 0
17+
filter: tree:0 #treeless clone, tags are preserved (possible issues with fetch-tags and fetch-depth 1)
1618
path: jabs
1719

1820
- name: Install Qt

src/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ set(CMAKE_C_STANDARD 99)
1515
configure_file(version.h.in version.h @ONLY)
1616
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}")
1717
find_package(GSL 2.6 REQUIRED)
18-
find_package(Jibal 0.3.12 REQUIRED)
18+
find_package(Jibal 0.3.13 REQUIRED)
1919
find_package(LibXml2 REQUIRED)
2020
find_package(Readline)
2121
find_package(OpenMP)

0 commit comments

Comments
 (0)