From efafa2567b78ad419033b056dbf9e40b0bfafc65 Mon Sep 17 00:00:00 2001 From: KeviM Date: Sat, 26 Sep 2026 10:30:41 -0700 Subject: [PATCH] docs: add package port bumps to the release steps Without this step a release leaves vcpkg, and later ConanCenter, on the previous version. --- CONTRIBUTING.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 5e77010..57ce557 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -106,6 +106,18 @@ explains how to refresh the specs. 3. Run `git tag vX.Y.Z && git push origin vX.Y.Z`. `release.yml` publishes the GitHub release after CI passes on the tagged commit, and `docs.yml` publishes the API reference. +4. Update the vcpkg and ConanCenter ports, working from your forks of those + repositories. Both need a hash of the tag's archive: + `curl -sL https://github.com/Reddimus/kalshi-cpp/archive/refs/tags/vX.Y.Z.tar.gz | shasum -a 512`, + or `-a 256` for Conan. + - vcpkg: in `ports/kalshi-cpp`, set `version` in `vcpkg.json` and `SHA512` + in `portfile.cmake`. Run `./vcpkg x-add-version kalshi-cpp`, commit + everything, and open a PR against microsoft/vcpkg. + - ConanCenter, once + [the first recipe](https://github.com/conan-io/conan-center-index/pull/31050) + merges: add the version to `recipes/kalshi-cpp/config.yml` and its URL + and sha256 to `recipes/kalshi-cpp/all/conandata.yml`, then open a PR + against conan-io/conan-center-index. While the version is 0.x, a minor release may break the API; patch releases only fix things.