Skip to content

Commit

Permalink
logdy 0.13.3
Browse files Browse the repository at this point in the history
logdy: add build patch

Signed-off-by: Rui Chen <[email protected]>
  • Loading branch information
BrewTestBot authored and chenrui333 committed Dec 11, 2024
1 parent 4aefd6d commit 64fbf89
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions Formula/l/logdy.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
class Logdy < Formula
desc "Web based real-time log viewer"
homepage "https://logdy.dev"
url "https://github.com/logdyhq/logdy-core/archive/refs/tags/v0.13.2.tar.gz"
sha256 "06f4061f9bf676b0b3125ed7fd4fc4a38b6472958bfb162a1cfc0266eb2d0d3d"
url "https://github.com/logdyhq/logdy-core/archive/refs/tags/v0.13.3.tar.gz"
sha256 "c89bdf341cecfd6bfcd72ff97fe51faf8f129543861f8c85c4135a3e56c6cb4c"
license "Apache-2.0"

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

depends_on "go" => :build

# fix build with removing `PersistentPostRun`, upstream pr ref, https://github.com/logdyhq/logdy-core/pull/69
patch do
url "https://github.com/logdyhq/logdy-core/commit/4d845c0f09054940fc63f2c22cf183f4c99a8539.patch?full_index=1"
sha256 "dbc3d2ec8ed4e7635ad4911d7b4fd0cd6929260e2d6dea871bba53765b2737ee"
end

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

0 comments on commit 64fbf89

Please sign in to comment.