Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump version to v1.5.1 #77

Merged
merged 3 commits into from
Jan 9, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
10 changes: 5 additions & 5 deletions include/Zycore/Zycore.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ extern "C" {
/**
* A macro that defines the zycore version.
*/
#define ZYCORE_VERSION (ZyanU64)0x0001000500000000
#define ZYCORE_VERSION 0x0001000500010000ULL

/* ---------------------------------------------------------------------------------------------- */
/* Helper macros */
Expand All @@ -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)

/* ---------------------------------------------------------------------------------------------- */

Expand Down
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
project(
'Zycore',
'c',
version: '1.5.0',
version: '1.5.1',
license: 'MIT',
license_files: 'LICENSE',
meson_version: '>=1.3',
Expand Down
8 changes: 4 additions & 4 deletions resources/VersionInfo.rc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"
Expand Down