diff --git a/.appveyor.yml b/.appveyor.yml index 1795e50f4e..71ec26a28f 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -15,7 +15,7 @@ install: # Update vcpkg (is outdated on the VS 2015 image) - cmd: | cd "C:\Tools\vcpkg" - git pull + git pull -q .\bootstrap-vcpkg.bat cd %appveyor_build_folder% cache: @@ -27,7 +27,7 @@ nuget: project_feed: true disable_publish_on_pr: true before_build: - - cmd: vcpkg install zstd zlib openssl --triplet %arch%-windows + - cmd: vcpkg --feature-flags=versions install --triplet %arch%-windows build: project: win32/librdkafka.sln publish_nuget: true diff --git a/packaging/RELEASE.md b/packaging/RELEASE.md index ba5e38a4ec..33b6398ddd 100644 --- a/packaging/RELEASE.md +++ b/packaging/RELEASE.md @@ -98,9 +98,10 @@ Release candidates start at 200, thus 0xAABBCCc9 is RC1, 0xAABBCCca is RC2, etc. Change the `RD_KAFKA_VERSION` defines in both `src/rdkafka.h` and `src-cpp/rdkafkacpp.h` to the version to build, such as 0x000b01c9 for v0.11.1-RC1, or 0x000b01ff for the final v0.11.1 release. +Update the librdkafka version in `vcpkg.json`. # Update defines - $ $EDITOR src/rdkafka.h src-cpp/rdkafkacpp.h + $ $EDITOR src/rdkafka.h src-cpp/rdkafkacpp.h vcpkg.json # Reconfigure and build $ ./configure diff --git a/vcpkg.json b/vcpkg.json new file mode 100644 index 0000000000..3f71294e1c --- /dev/null +++ b/vcpkg.json @@ -0,0 +1,19 @@ +{ + "name": "librdkafka", + "version": "1.8.0", + "dependencies": [ + { + "name": "zstd", + "version>=": "1.4.9" + }, + { + "name": "zlib", + "version>=": "1.2.11" + }, + { + "name": "openssl", + "version>=": "1.1.1k" + } + ], + "builtin-baseline": "cf03dac5c25dd5a8d207d0b7d546f24424898418" +}