Skip to content

Commit 723be01

Browse files
authored
Merge pull request #229519 from Homebrew/bump-steampipe-2.1.0
steampipe 2.1.0
2 parents 6f505bc + e1c57f7 commit 723be01

File tree

1 file changed

+14
-10
lines changed

1 file changed

+14
-10
lines changed

Formula/s/steampipe.rb

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
class Steampipe < Formula
22
desc "Use SQL to instantly query your cloud services"
33
homepage "https://steampipe.io/"
4-
url "https://github.com/turbot/steampipe/archive/refs/tags/v2.0.1.tar.gz"
5-
sha256 "d9ef636ac596930fe88741fd3e9703df802409f17e6e2ee31648f075590d0f46"
4+
url "https://github.com/turbot/steampipe/archive/refs/tags/v2.1.0.tar.gz"
5+
sha256 "e6c364e3fa5d537fd274e6c87bd249413ad77f3e97fda51eef13e160c5416af4"
66
license "AGPL-3.0-only"
77
head "https://github.com/turbot/steampipe.git", branch: "main"
88

@@ -12,26 +12,30 @@ class Steampipe < Formula
1212
end
1313

1414
bottle do
15-
sha256 cellar: :any_skip_relocation, arm64_sequoia: "0fe10140fd0ff7ddec5f7eee3c0055ff1b6ea65c25493ffaa98d302d8aa2fc55"
16-
sha256 cellar: :any_skip_relocation, arm64_sonoma: "20218e3ecbaed55408e9e861ab8899cd1beffd66892a0f518867d9260e41f8db"
17-
sha256 cellar: :any_skip_relocation, arm64_ventura: "4875653d0d2ca1a724500d57500bc26fd96d12c7b1eef802ead765e76c51f5c2"
18-
sha256 cellar: :any_skip_relocation, sonoma: "e98fff514b11e556bb4927b8b539d1302afe3a2a127c10ab0d364a91199667c0"
19-
sha256 cellar: :any_skip_relocation, ventura: "6962b5065285ed1da4e40a595827d79fe6cdff363cbee9d98f76b0afa1758ff8"
20-
sha256 cellar: :any_skip_relocation, x86_64_linux: "8d90a0be1f744d0b006ba363c1ac902d56b9fc989b0377fa00e405e372c27bd7"
15+
sha256 cellar: :any_skip_relocation, arm64_sequoia: "7f1197890b7b8bbccc819cdc36e3a7f8edadbf3449cff85d877d6cdf92d06f51"
16+
sha256 cellar: :any_skip_relocation, arm64_sonoma: "9b80f67be1b2f7ec4efcfafa6d4817fd414067769b9cff586038c490820379ad"
17+
sha256 cellar: :any_skip_relocation, arm64_ventura: "ebf4aa5a0e28c64fd6dbd54deab7ef3c68f83f7383e0ab24160a165751b8818f"
18+
sha256 cellar: :any_skip_relocation, sonoma: "6ab9046d38f66f7ee65a5ec081b04a9d737f1f33274073a30d879236b0015eae"
19+
sha256 cellar: :any_skip_relocation, ventura: "70e4cd9c8c70981e6613ad81bf89847cdeca8b740251af8546838581dc013ae7"
20+
sha256 cellar: :any_skip_relocation, x86_64_linux: "33d610b03e86d62a64ff04fb164b4a3ee2f796d3d08af7b2ed345e17378326e0"
2121
end
2222

2323
depends_on "go" => :build
2424

2525
def install
26-
system "go", "build", *std_go_args(ldflags: "-s -w")
26+
ldflags = "-s -w -X main.version=#{version} -X main.date=#{time.iso8601} -X main.commit=#{tap.user}"
27+
system "go", "build", *std_go_args(ldflags:)
2728

2829
generate_completions_from_executable(bin/"steampipe", "completion")
2930
end
3031

3132
test do
33+
ENV["STEAMPIPE_INSTALL_DIR"] = testpath
34+
3235
if OS.mac?
3336
output = shell_output(bin/"steampipe service status 2>&1", 255)
34-
assert_match "Error: could not create logs directory", output
37+
# upstream bug report about creating `.pipes` folder, https://github.com/turbot/steampipe/issues/4402
38+
assert_match "Error: could not create pipes installation directory", output
3539
else # Linux
3640
output = shell_output(bin/"steampipe service status 2>&1")
3741
assert_match "Steampipe service is not installed", output

0 commit comments

Comments
 (0)