File tree 6 files changed +27
-7
lines changed
6 files changed +27
-7
lines changed Original file line number Diff line number Diff line change 16
16
fuzz-seconds : 600
17
17
dry-run : false
18
18
- name : Upload Crash
19
- uses : actions/upload-artifact@v3
19
+ uses : actions/upload-artifact@v4
20
20
if : failure()
21
21
with :
22
22
name : artifacts
Original file line number Diff line number Diff line change @@ -21,9 +21,23 @@ cmake_policy(SET CMP0042 NEW)
21
21
# Enable support for MSVC_RUNTIME_LIBRARY
22
22
cmake_policy (SET CMP0091 NEW)
23
23
24
- project (capstone
25
- VERSION 5.0.4
26
- )
24
+ # Check if VERSION is provided externally, otherwise default to 5.0.3
25
+ if (NOT DEFINED PROJECT_VERSION)
26
+ set (PROJECT_VERSION "5.0.5" )
27
+ endif ()
28
+
29
+ # Use PROJECT_VERSION directly for CPack
30
+ set (CPACK_PACKAGE_VERSION ${PROJECT_VERSION} )
31
+
32
+ # Remove the 'v' prefix if it exists and extract the major, minor, and patch versions
33
+ string (REGEX MATCH "^[vV]?([0-9]+\\ .[0-9]+\\ .[0-9]+)" _ ${PROJECT_VERSION} )
34
+ set (PROJECT_VERSION_BASE ${CMAKE_MATCH_1} )
35
+
36
+ # Print the values of PROJECT_VERSION and PROJECT_VERSION_BASE
37
+ message (STATUS "PROJECT_VERSION: ${CPACK_PACKAGE_VERSION} CAPSTONE_VERSION: ${PROJECT_VERSION_BASE} " )
38
+
39
+ # Set the project version without the pre-release identifier
40
+ project (capstone VERSION ${PROJECT_VERSION_BASE} )
27
41
28
42
if (MSVC )
29
43
add_compile_options (/W1 /w14189)
Original file line number Diff line number Diff line change 1
1
This file details the changelog of Capstone.
2
2
3
+ --------------------------------
4
+ Version 5.0.5: January 16th, 2025
5
+
6
+ ## What's Changed
7
+ * Fix code missing in v5.0.4
8
+
3
9
--------------------------------
4
10
Version 5.0.4: January 16th, 2025
5
11
Original file line number Diff line number Diff line change 180
180
# Package version
181
181
CS_VERSION_MAJOR = CS_API_MAJOR
182
182
CS_VERSION_MINOR = CS_API_MINOR
183
- CS_VERSION_EXTRA = 4
183
+ CS_VERSION_EXTRA = 5
184
184
185
185
__version__ = "%u.%u.%u" % (CS_VERSION_MAJOR , CS_VERSION_MINOR , CS_VERSION_EXTRA )
186
186
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ extern "C" {
58
58
// Capstone package version
59
59
#define CS_VERSION_MAJOR CS_API_MAJOR
60
60
#define CS_VERSION_MINOR CS_API_MINOR
61
- #define CS_VERSION_EXTRA 4
61
+ #define CS_VERSION_EXTRA 5
62
62
63
63
/// Macro for meta programming.
64
64
/// Meant for projects using Capstone and need to support multiple
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ PKG_MAJOR = 5
6
6
PKG_MINOR = 0
7
7
8
8
# version bugfix level. Example: PKG_EXTRA = 1
9
- PKG_EXTRA = 4
9
+ PKG_EXTRA = 5
10
10
11
11
# version tag. Examples: rc1, b2, post1 - or just comment out for no tag
12
12
PKG_TAG =
You can’t perform that action at this time.
0 commit comments