Skip to content

Commit

Permalink
cnats 3.9.1
Browse files Browse the repository at this point in the history
  • Loading branch information
BrewTestBot authored and p-linnane committed Oct 3, 2024
1 parent da845f5 commit da99c11
Showing 1 changed file with 2 additions and 33 deletions.
35 changes: 2 additions & 33 deletions Formula/c/cnats.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
class Cnats < Formula
desc "C client for the NATS messaging system"
homepage "https://github.com/nats-io/nats.c"
url "https://github.com/nats-io/nats.c/archive/refs/tags/v3.9.0.tar.gz"
sha256 "82fd3cdc732f091859f5840c968ba489bc5c91b94454040b8011c1d61fd973a8"
url "https://github.com/nats-io/nats.c/archive/refs/tags/v3.9.1.tar.gz"
sha256 "56836bb30a2da93eaa6df0dfa27e796e6be0933b5b3d4d83b5c76d3b80304290"
license "Apache-2.0"

bottle do
Expand All @@ -20,9 +20,6 @@ class Cnats < Formula
depends_on "openssl@3"
depends_on "protobuf-c"

# patch the version suffix for release builds, upstream build patch, https://github.com/nats-io/nats.c/pull/810
patch :DATA

def install
args = %W[
-DCMAKE_INSTALL_PREFIX=#{prefix}
Expand All @@ -47,31 +44,3 @@ def install
assert_equal version, shell_output("./test").strip
end
end

__END__
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7b87592..4a725bf 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -254,7 +254,7 @@ endif(NATS_BUILD_WITH_TLS)
set(NATS_VERSION_MAJOR 3)
set(NATS_VERSION_MINOR 9)
set(NATS_VERSION_PATCH 0)
-set(NATS_VERSION_SUFFIX "-beta")
+set(NATS_VERSION_SUFFIX "")

set(NATS_VERSION_REQUIRED_NUMBER 0x030900)

diff --git a/src/version.h b/src/version.h
index e06ea35..7ece7b8 100644
--- a/src/version.h
+++ b/src/version.h
@@ -25,7 +25,7 @@ extern "C" {
#define NATS_VERSION_MINOR 9
#define NATS_VERSION_PATCH 0

-#define NATS_VERSION_STRING "3.9.0-beta"
+#define NATS_VERSION_STRING "3.9.0"

#define NATS_VERSION_NUMBER ((NATS_VERSION_MAJOR << 16) | \
(NATS_VERSION_MINOR << 8) | \

0 comments on commit da99c11

Please sign in to comment.