File tree Expand file tree Collapse file tree 6 files changed +27
-7
lines changed
Expand file tree Collapse file tree 6 files changed +27
-7
lines changed Original file line number Diff line number Diff line change 1616 fuzz-seconds : 600
1717 dry-run : false
1818 - name : Upload Crash
19- uses : actions/upload-artifact@v3
19+ uses : actions/upload-artifact@v4
2020 if : failure()
2121 with :
2222 name : artifacts
Original file line number Diff line number Diff line change @@ -21,9 +21,23 @@ cmake_policy(SET CMP0042 NEW)
2121# Enable support for MSVC_RUNTIME_LIBRARY
2222cmake_policy (SET CMP0091 NEW)
2323
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} )
2741
2842if (MSVC )
2943 add_compile_options (/W1 /w14189)
Original file line number Diff line number Diff line change 11This file details the changelog of Capstone.
22
3+ --------------------------------
4+ Version 5.0.5: January 16th, 2025
5+
6+ ## What's Changed
7+ * Fix code missing in v5.0.4
8+
39--------------------------------
410Version 5.0.4: January 16th, 2025
511
Original file line number Diff line number Diff line change 180180# Package version
181181CS_VERSION_MAJOR = CS_API_MAJOR
182182CS_VERSION_MINOR = CS_API_MINOR
183- CS_VERSION_EXTRA = 4
183+ CS_VERSION_EXTRA = 5
184184
185185__version__ = "%u.%u.%u" % (CS_VERSION_MAJOR , CS_VERSION_MINOR , CS_VERSION_EXTRA )
186186
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ extern "C" {
5858// Capstone package version
5959#define CS_VERSION_MAJOR CS_API_MAJOR
6060#define CS_VERSION_MINOR CS_API_MINOR
61- #define CS_VERSION_EXTRA 4
61+ #define CS_VERSION_EXTRA 5
6262
6363/// Macro for meta programming.
6464/// 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
66PKG_MINOR = 0
77
88# version bugfix level. Example: PKG_EXTRA = 1
9- PKG_EXTRA = 4
9+ PKG_EXTRA = 5
1010
1111# version tag. Examples: rc1, b2, post1 - or just comment out for no tag
1212PKG_TAG =
You can’t perform that action at this time.
0 commit comments