From 7df0812d0a328b9abea1701541f4fcc65718458c Mon Sep 17 00:00:00 2001 From: "Joshua J. Berry" Date: Mon, 29 Apr 2024 09:25:26 -0700 Subject: [PATCH 1/2] temporal 0.12.0 Bump to `temporal` 0.12.0, which now supports bash, fish and zsh for auto-completion, and requires a small change for how the version number is set in the final `temporal` binary. Co-authored-by: Rui Chen --- Formula/t/temporal.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Formula/t/temporal.rb b/Formula/t/temporal.rb index 6501711996a42c..dc8e8c1b4ea534 100644 --- a/Formula/t/temporal.rb +++ b/Formula/t/temporal.rb @@ -1,8 +1,8 @@ class Temporal < Formula desc "Command-line interface for running and interacting with Temporal Server and UI" homepage "https://temporal.io/" - url "https://github.com/temporalio/cli/archive/refs/tags/v0.11.0.tar.gz" - sha256 "9cc4e80254e95a3b456e7d605b518c1a3e4d62b92a08a05efd6cf897ce4b2f3e" + url "https://github.com/temporalio/cli/archive/refs/tags/v0.12.0.tar.gz" + sha256 "eada525bab531952b84bd78ba9631e1eaed64eba9860fd61ea1e874d454e6d30" license "MIT" head "https://github.com/temporalio/cli.git", branch: "main" @@ -19,9 +19,9 @@ class Temporal < Formula depends_on "go" => :build def install - ldflags = "-s -w -X github.com/temporalio/cli/headers.Version=#{version}" + ldflags = "-s -w -X github.com/temporalio/cli/temporalcli.Version=#{version}" system "go", "build", *std_go_args(ldflags:), "./cmd/temporal" - generate_completions_from_executable(bin/"temporal", "completion", shells: [:bash, :zsh]) + generate_completions_from_executable bin/"temporal", "completion" end test do From b5bde7e2166d6f8348350ec9c4e7a794c0264e33 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Mon, 29 Apr 2024 17:41:35 +0000 Subject: [PATCH 2/2] temporal: update 0.12.0 bottle. --- Formula/t/temporal.rb | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Formula/t/temporal.rb b/Formula/t/temporal.rb index dc8e8c1b4ea534..bdf59a6266740e 100644 --- a/Formula/t/temporal.rb +++ b/Formula/t/temporal.rb @@ -7,13 +7,13 @@ class Temporal < Formula head "https://github.com/temporalio/cli.git", branch: "main" bottle do - sha256 cellar: :any_skip_relocation, arm64_sonoma: "601f616c8afe61f86e1bc778e2cef1458120969681f3e5991e1724ce82688309" - sha256 cellar: :any_skip_relocation, arm64_ventura: "6cc2076984038c0f192f58d942610c09e415cfa23ae2575b02e9f15e1b0b3915" - sha256 cellar: :any_skip_relocation, arm64_monterey: "f806c0ddb07813139be877154622e5a5bb3a21565e3c0f0607560a6ea9f3a55b" - sha256 cellar: :any_skip_relocation, sonoma: "2ad41c934bc48f6beb0f02f33ceb3a56266bd805833fc3b456c8171c772d1464" - sha256 cellar: :any_skip_relocation, ventura: "61e5f4027f1f26e0b4ff7a456f14ddbe2b2e1b4697bca7a43b996ae0708866e6" - sha256 cellar: :any_skip_relocation, monterey: "021e6b2b199d3578517c6ce2eff38314f055afc70e0a3780bf91e816d16f6e84" - sha256 cellar: :any_skip_relocation, x86_64_linux: "d06b7103a616c7561c6c14162238d7dcb67392d0bc69b4c9f8e6659f837ffffe" + sha256 cellar: :any_skip_relocation, arm64_sonoma: "4d9ff5ce41efae116a0ac83b83a6e214300e17115296862cc496b0de9d42ac06" + sha256 cellar: :any_skip_relocation, arm64_ventura: "33040335106d982019391b38a8c04945a45b0877f95fae8ebde5374dec025e03" + sha256 cellar: :any_skip_relocation, arm64_monterey: "bd70a82c2253c511af8d0b859306ab807f17f1cc41e12aa6d597de7285a15dc8" + sha256 cellar: :any_skip_relocation, sonoma: "680848fd9e896df9e97526ca17823b3da40833a3c9e260d8088d59a69dacef79" + sha256 cellar: :any_skip_relocation, ventura: "d0d0ab449b2529ff78236fb48fb16aa66d527a371c9d445294f1f870e958ec55" + sha256 cellar: :any_skip_relocation, monterey: "3c0cb7087bd7caad4f6a3be9ed127684f123e463a90a5ddb09bf91be6193f279" + sha256 cellar: :any_skip_relocation, x86_64_linux: "3e504c01d06115298129ec7eeeb5250218b07378cb75748287dd6710a3140f04" end depends_on "go" => :build