From 39ac2c494e780da7f4886886bf2cb594da73980f Mon Sep 17 00:00:00 2001 From: Fabian Sauter Date: Sat, 29 Nov 2025 04:36:15 +0100 Subject: [PATCH 1/2] Increased version to 1.14.0 --- CMakeLists.txt | 2 +- README.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 59e317921..3f24da216 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.15) -project(cpr VERSION 1.13.0 LANGUAGES CXX) +project(cpr VERSION 1.14.0 LANGUAGES CXX) math(EXPR cpr_VERSION_NUM "${cpr_VERSION_MAJOR} * 0x10000 + ${cpr_VERSION_MINOR} * 0x100 + ${cpr_VERSION_PATCH}" OUTPUT_FORMAT HEXADECIMAL) configure_file("${cpr_SOURCE_DIR}/cmake/cprver.h.in" "${cpr_BINARY_DIR}/cpr_generated_includes/cpr/cprver.h") diff --git a/README.md b/README.md index b55a26144..644dcdb0f 100644 --- a/README.md +++ b/README.md @@ -13,8 +13,8 @@ | Release | Min. C++ Standard | Status | Notes | |---------------------------|-------------------|--------------------------|-------| | master | `cpp17` | ![alt text][preview] | | -| 1.13.x | `cpp17` | ![alt text][supported] | | -| 1.10.x - 1.12.x | `cpp17` | ![alt text][unsupported] | | +| 1.14.x | `cpp17` | ![alt text][supported] | | +| 1.10.x - 1.13.x | `cpp17` | ![alt text][unsupported] | | | <= 1.9.x | `cpp11` | ![alt text][unsupported] | | [unsupported]: https://img.shields.io/badge/-unsupported-red "unsupported" From 8d8acdb162ed8d1482a902baed31991826731240 Mon Sep 17 00:00:00 2001 From: Fabian Sauter Date: Sat, 29 Nov 2025 05:13:17 +0100 Subject: [PATCH 2/2] Nuget add build type --- .github/workflows/build-nuget.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-nuget.yml b/.github/workflows/build-nuget.yml index 8c2c02ee3..0f8facb5d 100644 --- a/.github/workflows/build-nuget.yml +++ b/.github/workflows/build-nuget.yml @@ -62,12 +62,12 @@ jobs: - name: Configure & build Release x86 run: | cmake -S . -B build-release-x86 -G "Visual Studio 17 2022" -A Win32 -DCMAKE_INSTALL_PREFIX="$env:GITHUB_WORKSPACE/nuget/build/native/x86/Release" -DBUILD_SHARED_LIBS=ON -DCURL_ZLIB=OFF -DCMAKE_BUILD_TYPE=Release - cmake --build build-release-x86 --target install + cmake --build build-release-x86 --config Release --target install - name: Configure & build Debug x86 run: | cmake -S . -B build-debug-x86 -G "Visual Studio 17 2022" -A Win32 -DCMAKE_INSTALL_PREFIX="$env:GITHUB_WORKSPACE/nuget/build/native/x86/Debug" -DBUILD_SHARED_LIBS=ON -DCURL_ZLIB=OFF -DCMAKE_BUILD_TYPE=Debug - cmake --build build-debug-x86 --target install + cmake --build build-debug-x86 --config Debug --target install # ─────────────────────────────── Build x64 ───────────────────────────────── - name: Enable MSVC x64 toolchain @@ -78,12 +78,12 @@ jobs: - name: Configure & build Release x64 run: | cmake -S . -B build-release-x64 -G "Visual Studio 17 2022" -A x64 -DCMAKE_INSTALL_PREFIX="$env:GITHUB_WORKSPACE/nuget/build/native/x64/Release" -DBUILD_SHARED_LIBS=ON -DCURL_ZLIB=OFF -DCMAKE_BUILD_TYPE=Release - cmake --build build-release-x64 --target install + cmake --build build-release-x64 --config Release --target install - name: Configure & build Debug x64 run: | cmake -S . -B build-debug-x64 -G "Visual Studio 17 2022" -A x64 -DCMAKE_INSTALL_PREFIX="$env:GITHUB_WORKSPACE/nuget/build/native/x64/Debug" -DBUILD_SHARED_LIBS=ON -DCURL_ZLIB=OFF -DCMAKE_BUILD_TYPE=Debug - cmake --build build-debug-x64 --target install + cmake --build build-debug-x64 --config Debug --target install # ────────────────────────── Pack, push, artefact ───────────────────────────── - name: Create NuGet package