From a5062aeddd8f733028803911523789f4eefcc4ed Mon Sep 17 00:00:00 2001 From: Ian Reinhart Geiser Date: Wed, 29 Nov 2023 22:16:47 -0500 Subject: [PATCH] [cnats] Update to 3.7.0 (#35384) * bump nats.c version to 3.7.0 * run x-add-version * Use version string instead of hash Co-authored-by: Cheney Wang <38240633+Cheney-W@users.noreply.github.com> * fix versions --------- Co-authored-by: Cheney Wang <38240633+Cheney-W@users.noreply.github.com> --- ports/cnats/portfile.cmake | 6 +++--- ports/cnats/vcpkg.json | 2 +- versions/baseline.json | 2 +- versions/c-/cnats.json | 5 +++++ 4 files changed, 10 insertions(+), 5 deletions(-) diff --git a/ports/cnats/portfile.cmake b/ports/cnats/portfile.cmake index 15d8f8ff56..fc32c08d1d 100644 --- a/ports/cnats/portfile.cmake +++ b/ports/cnats/portfile.cmake @@ -1,9 +1,9 @@ vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO nats-io/nats.c - REF 66cec7fce9a64f911015f0c516a086c1a74cd22a #v3.6.1 - SHA512 c0d3ad62c9453dca1799e69c3fe9df63c57c29c3c596ba4a9c5053b4886014741b8ce1563adb28d3e64b6b221748884ef71d6b288fae2855ae1ed1fdd2d028fb - HEAD_REF master + REF "v${VERSION}" + SHA512 0670a2b7fb70a49e2b1f5cbccf2406a3ecaf04b48b4147dc2ead9cb106f1673efa79b5e40d3bb557986ade35da2158b58b324603f98a58258a497dc57cb5d700 + HEAD_REF main PATCHES fix-sodium-dep.patch ) diff --git a/ports/cnats/vcpkg.json b/ports/cnats/vcpkg.json index 71d5358b22..8ed988008b 100644 --- a/ports/cnats/vcpkg.json +++ b/ports/cnats/vcpkg.json @@ -1,6 +1,6 @@ { "name": "cnats", - "version": "3.6.1", + "version": "3.7.0", "description": "A C client for the NATS messaging system", "homepage": "https://github.com/nats-io/nats.c", "license": "Apache-2.0", diff --git a/versions/baseline.json b/versions/baseline.json index c5c4f53527..637166eb11 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -1677,7 +1677,7 @@ "port-version": 3 }, "cnats": { - "baseline": "3.6.1", + "baseline": "3.7.0", "port-version": 0 }, "cnl": { diff --git a/versions/c-/cnats.json b/versions/c-/cnats.json index 4e9ad29948..b3263220ec 100644 --- a/versions/c-/cnats.json +++ b/versions/c-/cnats.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "438cfff2ee224f9d414bda9bcf796c13534443ba", + "version": "3.7.0", + "port-version": 0 + }, { "git-tree": "809d101d1791bc6cd3f51c8c9fa8e86dc923113b", "version": "3.6.1",