Skip to content

Commit e9d9fdf

Browse files
authored
1.14.0 Release Preparation - NuGet Release Build Fixes (#1278)
* Increased version to 1.14.0 * Nuget add build type
1 parent 570e989 commit e9d9fdf

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.github/workflows/build-nuget.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,12 @@ jobs:
6262
- name: Configure & build Release x86
6363
run: |
6464
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
65-
cmake --build build-release-x86 --target install
65+
cmake --build build-release-x86 --config Release --target install
6666
6767
- name: Configure & build Debug x86
6868
run: |
6969
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
70-
cmake --build build-debug-x86 --target install
70+
cmake --build build-debug-x86 --config Debug --target install
7171
7272
# ─────────────────────────────── Build x64 ─────────────────────────────────
7373
- name: Enable MSVC x64 toolchain
@@ -78,12 +78,12 @@ jobs:
7878
- name: Configure & build Release x64
7979
run: |
8080
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
81-
cmake --build build-release-x64 --target install
81+
cmake --build build-release-x64 --config Release --target install
8282
8383
- name: Configure & build Debug x64
8484
run: |
8585
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
86-
cmake --build build-debug-x64 --target install
86+
cmake --build build-debug-x64 --config Debug --target install
8787
8888
# ────────────────────────── Pack, push, artefact ─────────────────────────────
8989
- name: Create NuGet package

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
cmake_minimum_required(VERSION 3.15)
2-
project(cpr VERSION 1.13.0 LANGUAGES CXX)
2+
project(cpr VERSION 1.14.0 LANGUAGES CXX)
33

44
math(EXPR cpr_VERSION_NUM "${cpr_VERSION_MAJOR} * 0x10000 + ${cpr_VERSION_MINOR} * 0x100 + ${cpr_VERSION_PATCH}" OUTPUT_FORMAT HEXADECIMAL)
55
configure_file("${cpr_SOURCE_DIR}/cmake/cprver.h.in" "${cpr_BINARY_DIR}/cpr_generated_includes/cpr/cprver.h")

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
| Release | Min. C++ Standard | Status | Notes |
1414
|---------------------------|-------------------|--------------------------|-------|
1515
| master | `cpp17` | ![alt text][preview] | |
16-
| 1.13.x | `cpp17` | ![alt text][supported] | |
17-
| 1.10.x - 1.12.x | `cpp17` | ![alt text][unsupported] | |
16+
| 1.14.x | `cpp17` | ![alt text][supported] | |
17+
| 1.10.x - 1.13.x | `cpp17` | ![alt text][unsupported] | |
1818
| <= 1.9.x | `cpp11` | ![alt text][unsupported] | |
1919

2020
[unsupported]: https://img.shields.io/badge/-unsupported-red "unsupported"

0 commit comments

Comments
 (0)