Skip to content

Commit 7f5cd26

Browse files
BrewTestBotchenrui333
authored andcommitted
godap 2.7.1
godap: add version patch Signed-off-by: Rui Chen <rui@chenrui.dev>
1 parent 446885b commit 7f5cd26

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

Formula/g/godap.rb

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
class Godap < Formula
22
desc "Complete TUI (terminal user interface) for LDAP"
33
homepage "https://github.com/Macmod/godap"
4-
url "https://github.com/Macmod/godap/archive/refs/tags/v2.7.0.tar.gz"
5-
sha256 "d5707d3ec92cdd758d674b0a2f3e52dc796d1385df67913adcac1f8cb30198eb"
4+
url "https://github.com/Macmod/godap/archive/refs/tags/v2.7.1.tar.gz"
5+
sha256 "71cac1aaedc08ea2831ebc756e0277425000a9f7949b7ff80d9f38dc38d539f3"
66
license "MIT"
77

88
bottle do
@@ -17,6 +17,12 @@ class Godap < Formula
1717

1818
depends_on "go" => :build
1919

20+
# release version patch, upstream pr ref, https://github.com/Macmod/godap/pull/9
21+
patch do
22+
url "https://github.com/Macmod/godap/commit/db329a75cc801b5b524ba5fdc303b7b2eb917003.patch?full_index=1"
23+
sha256 "885de4f2dc192a3b16871ea7821b6e8638b8401b2ca3857c3ba69fa9a5987635"
24+
end
25+
2026
def install
2127
system "go", "build", *std_go_args(ldflags: "-s -w -X main.Version=#{version}")
2228
generate_completions_from_executable(bin/"godap", "completion")

0 commit comments

Comments
 (0)