From 53f6d2730d29b7d6399154501bc65c1c89f0b0fd Mon Sep 17 00:00:00 2001 From: Zephyr Lykos Date: Thu, 9 Jan 2025 23:57:26 +0800 Subject: [PATCH] Bump version to v1.5.1 (#77) --- .github/workflows/main.yml | 4 ++-- CMakeLists.txt | 2 +- include/Zycore/Zycore.h | 10 +++++----- meson.build | 2 +- resources/VersionInfo.rc | 8 ++++---- 5 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9517960..65065a0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,7 +10,7 @@ on: jobs: build-linux-cmake: name: CMake Build ${{ matrix.platform.name }} ${{ matrix.compiler.name }} ${{ matrix.flavor }} (${{ matrix.mode.name }}) - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 strategy: fail-fast: false @@ -54,7 +54,7 @@ jobs: build-linux-meson: name: Meson Build ${{ matrix.platform.name }} ${{ matrix.compiler.name }} ${{ matrix.flavor }} (${{ matrix.mode.name }}) - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 strategy: fail-fast: false diff --git a/CMakeLists.txt b/CMakeLists.txt index 67d394b..a738284 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,7 +9,7 @@ if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.15") cmake_policy(SET CMP0091 NEW) endif () -project(Zycore VERSION 1.5.0.0 LANGUAGES C) +project(Zycore VERSION 1.5.1.0 LANGUAGES C) include(GNUInstallDirs) include(CMakePackageConfigHelpers) diff --git a/include/Zycore/Zycore.h b/include/Zycore/Zycore.h index f73b8be..3ed9049 100644 --- a/include/Zycore/Zycore.h +++ b/include/Zycore/Zycore.h @@ -51,7 +51,7 @@ extern "C" { /** * A macro that defines the zycore version. */ -#define ZYCORE_VERSION (ZyanU64)0x0001000500000000 +#define ZYCORE_VERSION 0x0001000500010000ULL /* ---------------------------------------------------------------------------------------------- */ /* Helper macros */ @@ -62,28 +62,28 @@ extern "C" { * * @param version The zycore version value */ -#define ZYCORE_VERSION_MAJOR(version) (ZyanU16)((version & 0xFFFF000000000000) >> 48) +#define ZYCORE_VERSION_MAJOR(version) ((version & 0xFFFF000000000000) >> 48) /** * Extracts the minor-part of the zycore version. * * @param version The zycore version value */ -#define ZYCORE_VERSION_MINOR(version) (ZyanU16)((version & 0x0000FFFF00000000) >> 32) +#define ZYCORE_VERSION_MINOR(version) ((version & 0x0000FFFF00000000) >> 32) /** * Extracts the patch-part of the zycore version. * * @param version The zycore version value */ -#define ZYCORE_VERSION_PATCH(version) (ZyanU16)((version & 0x00000000FFFF0000) >> 16) +#define ZYCORE_VERSION_PATCH(version) ((version & 0x00000000FFFF0000) >> 16) /** * Extracts the build-part of the zycore version. * * @param version The zycore version value */ -#define ZYCORE_VERSION_BUILD(version) (ZyanU16)(version & 0x000000000000FFFF) +#define ZYCORE_VERSION_BUILD(version) (version & 0x000000000000FFFF) /* ---------------------------------------------------------------------------------------------- */ diff --git a/meson.build b/meson.build index 72dd103..298dc66 100644 --- a/meson.build +++ b/meson.build @@ -1,7 +1,7 @@ project( 'Zycore', 'c', - version: '1.5.0', + version: '1.5.1', license: 'MIT', license_files: 'LICENSE', meson_version: '>=1.3', diff --git a/resources/VersionInfo.rc b/resources/VersionInfo.rc index 5388515..c1cf1a0 100644 --- a/resources/VersionInfo.rc +++ b/resources/VersionInfo.rc @@ -27,8 +27,8 @@ #include "winres.h" VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,5,0,0 - PRODUCTVERSION 1,5,0,0 + FILEVERSION 1,5,1,0 + PRODUCTVERSION 1,5,1,0 FILEFLAGSMASK 0x3fL #ifdef _DEBUG FILEFLAGS 0x1L @@ -45,12 +45,12 @@ BEGIN BEGIN VALUE "CompanyName", "zyantific" VALUE "FileDescription", "Zyan Core Library for C" - VALUE "FileVersion", "1.5.0.0" + VALUE "FileVersion", "1.5.1.0" VALUE "InternalName", "Zycore" VALUE "LegalCopyright", "Copyright \xA9 2018-2024 by zyantific.com" VALUE "OriginalFilename", "Zycore.dll" VALUE "ProductName", "Zyan Core Library for C" - VALUE "ProductVersion", "1.5.0.0" + VALUE "ProductVersion", "1.5.1.0" END END BLOCK "VarFileInfo"