Skip to content

Commit 705f2d1

Browse files
authored
Merge pull request #206348 from branchvincent/lazydocker
lazydocker: use tarball, add build date
2 parents 923781a + 011b144 commit 705f2d1

File tree

1 file changed

+15
-11
lines changed

1 file changed

+15
-11
lines changed

Formula/l/lazydocker.rb

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,29 @@
11
class Lazydocker < Formula
22
desc "Lazier way to manage everything docker"
33
homepage "https://github.com/jesseduffield/lazydocker"
4-
url "https://github.com/jesseduffield/lazydocker.git",
5-
tag: "v0.24.1",
6-
revision: "be051153525b018a46f71a2b2ed42cde39a1110c"
4+
url "https://github.com/jesseduffield/lazydocker/archive/refs/tags/v0.24.1.tar.gz"
5+
sha256 "f54197d333a28e658d2eb4d9b22461ae73721ec9e4106ba23ed177fc530c21f4"
76
license "MIT"
87

98
bottle do
10-
rebuild 1
11-
sha256 cellar: :any_skip_relocation, arm64_sequoia: "d6f64993358c0dbf9148225c06d2d188f662792221602eda80b0c3b18460a774"
12-
sha256 cellar: :any_skip_relocation, arm64_sonoma: "d6f64993358c0dbf9148225c06d2d188f662792221602eda80b0c3b18460a774"
13-
sha256 cellar: :any_skip_relocation, arm64_ventura: "d6f64993358c0dbf9148225c06d2d188f662792221602eda80b0c3b18460a774"
14-
sha256 cellar: :any_skip_relocation, sonoma: "da5a6148836db44d966471327fd0f7c6e99921c357540476ba84b004ee72c29a"
15-
sha256 cellar: :any_skip_relocation, ventura: "da5a6148836db44d966471327fd0f7c6e99921c357540476ba84b004ee72c29a"
16-
sha256 cellar: :any_skip_relocation, x86_64_linux: "388d54eea16a31e3e7230847a697f2e3ac93888c9869079ba30942c16dc7c8fd"
9+
rebuild 2
10+
sha256 cellar: :any_skip_relocation, arm64_sequoia: "d56e3e9243fcce363bcc3af848e66be911f855a1b00c52cfdfe6dce245a7c60e"
11+
sha256 cellar: :any_skip_relocation, arm64_sonoma: "d56e3e9243fcce363bcc3af848e66be911f855a1b00c52cfdfe6dce245a7c60e"
12+
sha256 cellar: :any_skip_relocation, arm64_ventura: "d56e3e9243fcce363bcc3af848e66be911f855a1b00c52cfdfe6dce245a7c60e"
13+
sha256 cellar: :any_skip_relocation, sonoma: "223526b606bffcc7ff56767b65e135fdc82b6df8575a8c21897a7ec4608404c8"
14+
sha256 cellar: :any_skip_relocation, ventura: "223526b606bffcc7ff56767b65e135fdc82b6df8575a8c21897a7ec4608404c8"
15+
sha256 cellar: :any_skip_relocation, x86_64_linux: "43b3ee2215c9e3f64e30c9a06037fbac3cf78c58e9cb150ff1e3e42f657a67bf"
1716
end
1817

1918
depends_on "go" => :build
2019

2120
def install
22-
ldflags = "-s -w -X main.version=#{version} -X main.buildSource=homebrew"
21+
ldflags = %W[
22+
-s -w
23+
-X main.version=#{version}
24+
-X main.date=#{time.iso8601}
25+
-X main.buildSource=homebrew
26+
]
2327
system "go", "build", "-mod=vendor", *std_go_args(ldflags:)
2428
end
2529

0 commit comments

Comments
 (0)