Skip to content

Commit

Permalink
godap 2.7.1
Browse files Browse the repository at this point in the history
godap: add version patch

Signed-off-by: Rui Chen <[email protected]>
  • Loading branch information
BrewTestBot authored and chenrui333 committed Jun 25, 2024
1 parent 446885b commit 7f5cd26
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions Formula/g/godap.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
class Godap < Formula
desc "Complete TUI (terminal user interface) for LDAP"
homepage "https://github.com/Macmod/godap"
url "https://github.com/Macmod/godap/archive/refs/tags/v2.7.0.tar.gz"
sha256 "d5707d3ec92cdd758d674b0a2f3e52dc796d1385df67913adcac1f8cb30198eb"
url "https://github.com/Macmod/godap/archive/refs/tags/v2.7.1.tar.gz"
sha256 "71cac1aaedc08ea2831ebc756e0277425000a9f7949b7ff80d9f38dc38d539f3"
license "MIT"

bottle do
Expand All @@ -17,6 +17,12 @@ class Godap < Formula

depends_on "go" => :build

# release version patch, upstream pr ref, https://github.com/Macmod/godap/pull/9
patch do
url "https://github.com/Macmod/godap/commit/db329a75cc801b5b524ba5fdc303b7b2eb917003.patch?full_index=1"
sha256 "885de4f2dc192a3b16871ea7821b6e8638b8401b2ca3857c3ba69fa9a5987635"
end

def install
system "go", "build", *std_go_args(ldflags: "-s -w -X main.Version=#{version}")
generate_completions_from_executable(bin/"godap", "completion")
Expand Down

0 comments on commit 7f5cd26

Please sign in to comment.