Skip to content

Commit

Permalink
Merge pull request #142665 from Porkepix/bump-grype-0.68.0
Browse files Browse the repository at this point in the history
grype 0.68.0
  • Loading branch information
BrewTestBot authored Sep 15, 2023
2 parents c67771b + acc44b5 commit e26ccd2
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions Formula/g/grype.rb
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
class Grype < Formula
desc "Vulnerability scanner for container images and filesystems"
homepage "https://github.com/anchore/grype"
url "https://github.com/anchore/grype/archive/refs/tags/v0.67.0.tar.gz"
sha256 "bd6a9d72e022f3454130f4a5b1807aa7c5fb641e6cad509bb3ba977737f098fd"
url "https://github.com/anchore/grype/archive/refs/tags/v0.68.0.tar.gz"
sha256 "1e6acc3a8227ebf5b830936db22b3f5b947ccdc32655bbd90ad1f966f8565ca9"
license "Apache-2.0"
head "https://github.com/anchore/grype.git", branch: "main"

bottle do
sha256 cellar: :any_skip_relocation, arm64_ventura: "d523b1b0721165a46d7748cfd7e2852f669c47db29f2a582542e761440060500"
sha256 cellar: :any_skip_relocation, arm64_monterey: "ed87605c9eb401c75945b17cdf36122a4ef80abb848cd0d55a7d8d159c5c405c"
sha256 cellar: :any_skip_relocation, arm64_big_sur: "645e307c822ee25e05549b1cf7d3baf93201bca609411f4f67c74c95f38fdc0a"
sha256 cellar: :any_skip_relocation, ventura: "d17e419666490c5596dfd539c107141a652ca94334dab5ba20cf3573fb095d89"
sha256 cellar: :any_skip_relocation, monterey: "5332214c402104afaa17ebf79c7c1b8656ebe5bfeb68a66aeebefdb478791b00"
sha256 cellar: :any_skip_relocation, big_sur: "a02c1fd1360e62618c502ec655a9551403567ae788007d9ceecef51e4588be0e"
sha256 cellar: :any_skip_relocation, x86_64_linux: "3c4100af989a2bf7627184d2aa0eb0b6b32ce64a78b030abca90b03efd6eedac"
sha256 cellar: :any_skip_relocation, arm64_ventura: "0f6434ab0123b6fa83b79cb8e7edd3b3b206b0db422f8addd5cb387b966a2417"
sha256 cellar: :any_skip_relocation, arm64_monterey: "f6ba949fff31ae1b1ab66e2383cdd424ac7389a0a492c788a099bab5da01becb"
sha256 cellar: :any_skip_relocation, arm64_big_sur: "5d8a51f394e7485e33548a2713dc063d0f02eaf5a94d8d86b8744112812b9df4"
sha256 cellar: :any_skip_relocation, ventura: "1ece1d628936ad4987aa1b032ab32bcab8ab9be695162077c6b8cef1ef4554c9"
sha256 cellar: :any_skip_relocation, monterey: "342cffcdf10be7095e59e73fd31ac19cd8bed200caeef75a6f0dd3c60458f33b"
sha256 cellar: :any_skip_relocation, big_sur: "9cb3d2726d029cd50955b7f7654f7a0f0250904c085123bc94c2825b66776b87"
sha256 cellar: :any_skip_relocation, x86_64_linux: "083e6eabd12a02b3d962441df7f7795d6d57c095d56035e376fa02dbcf196777"
end

depends_on "go" => :build

def install
ldflags = %W[
-s -w
-X github.com/anchore/grype/internal/version.version=#{version}
-X github.com/anchore/grype/internal/version.gitCommit=brew
-X github.com/anchore/grype/internal/version.buildDate=#{time.iso8601}
-X main.version=#{version}
-X main.gitCommit=brew
-X main.buildDate=#{time.iso8601}
]

system "go", "build", *std_go_args(ldflags: ldflags), "./cmd/grype"
Expand All @@ -33,7 +33,7 @@ def install

test do
assert_match "database metadata not found", shell_output("#{bin}/grype db status 2>&1", 1)
assert_match "Update available", shell_output("#{bin}/grype db check")
assert_match "Update available", shell_output("#{bin}/grype db check", 100)
assert_match version.to_s, shell_output("#{bin}/grype version")
end
end

0 comments on commit e26ccd2

Please sign in to comment.