Skip to content

Commit f72ce9c

Browse files
Updating [email protected] formula for version 1.16.0-rc.1
skip-checks: true
1 parent cceeefb commit f72ce9c

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

[email protected]

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# ------------------------------------------------------------
2+
# Copyright 2025 The Dapr Authors
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
# http://www.apache.org/licenses/LICENSE-2.0
7+
# Unless required by applicable law or agreed to in writing, software
8+
# distributed under the License is distributed on an "AS IS" BASIS,
9+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10+
# See the License for the specific language governing permissions and
11+
# limitations under the License.
12+
# ------------------------------------------------------------
13+
14+
class DaprCliAT1160Rc1 < Formula
15+
desc "Client for Dapr."
16+
homepage "https://dapr.io"
17+
version '1.16.0-rc.1'
18+
url "https://github.com/dapr/cli/archive/v1.16.0-rc.1.tar.gz"
19+
sha256 "3c666bb0deac9882c864477000d5641d5bd93cdd2e86ca856ce98b37fee41335"
20+
21+
depends_on "go" => :build
22+
depends_on "make" => :build
23+
24+
bottle do
25+
root_url "https://github.com/dapr/homebrew-tap/releases/download/v1.16.0-rc.1"
26+
sha256 cellar: :any_skip_relocation, arm64_sonoma: "34edfb0512ec88980e86b7168165ab048c597c833a0e1609f3237d82e618b295"
27+
end
28+
29+
def install
30+
with_env(
31+
"GOPROXY" => ENV["HOMEBREW_GOPROXY"] ? ENV["HOMEBREW_GOPROXY"] : ENV["GOPROXY"],
32+
) do
33+
system "make", "REL_VERSION=#{version}"
34+
end
35+
bin.install Dir["dist/*/release/dapr"].first => "dapr"
36+
end
37+
38+
test do
39+
system "#{bin}/dapr", "--version"
40+
end
41+
end
42+

0 commit comments

Comments
 (0)