Skip to content

Commit

Permalink
Merge pull request #174386 from Homebrew/bump-kics-2.1.0
Browse files Browse the repository at this point in the history
kics 2.1.0
  • Loading branch information
BrewTestBot authored Jun 12, 2024
2 parents f9b91c7 + 4ee0726 commit e26252c
Showing 1 changed file with 10 additions and 13 deletions.
23 changes: 10 additions & 13 deletions Formula/k/kics.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
class Kics < Formula
desc "Detect vulnerabilities, compliance issues, and misconfigurations"
homepage "https://kics.io/"
url "https://github.com/Checkmarx/kics/archive/refs/tags/v2.0.1.tar.gz"
sha256 "7c4b5c5e2d696db4edf5a319aad39c8108156c2832fbf2c4429c92c6ee2ada2f"
url "https://github.com/Checkmarx/kics/archive/refs/tags/v2.1.0.tar.gz"
sha256 "097072c07616ab4dbcaedb91e8b1591da20fa599323c1b56657cf4e677d6dfa3"
license "Apache-2.0"
head "https://github.com/Checkmarx/kics.git", branch: "master"

Expand All @@ -12,22 +12,19 @@ class Kics < Formula
end

bottle do
sha256 cellar: :any_skip_relocation, arm64_sonoma: "8bc80fcbb1692b139e56e373286324fc920f0f9ca6582e05a66f8ffebeb939d1"
sha256 cellar: :any_skip_relocation, arm64_ventura: "2d3acbf525a4655cf4621c635eec41ab14fb17aa8e714ad1984e17fb25d4a355"
sha256 cellar: :any_skip_relocation, arm64_monterey: "6a8fd1e9a5bb5f35832b75f719e0dd536d227dc2f5bec09bc0ae3a2943f24ff2"
sha256 cellar: :any_skip_relocation, sonoma: "272050530665cf1ae1885f21db1cdbbdd2463bb509107394747c336740b50609"
sha256 cellar: :any_skip_relocation, ventura: "604d7850eb94c17cc1c168bfd7a01d8751040298774efae66e4ba46d768807b7"
sha256 cellar: :any_skip_relocation, monterey: "8175af214421abf85237de91097f5825f0020dcf9bbc0a589639ca7a86ea4e21"
sha256 cellar: :any_skip_relocation, x86_64_linux: "f0b3c6f3c28197841fa26d69e89f76316072a60561c607d84db2bd832dcd585d"
sha256 cellar: :any_skip_relocation, arm64_sonoma: "07475eab11615612e97fba016cb12f80e3c8dfc5bc28a691637695f4146e8f90"
sha256 cellar: :any_skip_relocation, arm64_ventura: "4ca6495b544ddb5cc0bc1a9cd16d5e8015d5a6dcbcf48d9e74020d19c722153f"
sha256 cellar: :any_skip_relocation, arm64_monterey: "43d2794598edf5da3873606462d22c10be04c6bb146cf2bddf33a49378defe08"
sha256 cellar: :any_skip_relocation, sonoma: "b1efbd44d7c612e791f4d0d1b38df5592333c55091f468b304defa8e5fe582f8"
sha256 cellar: :any_skip_relocation, ventura: "e5efbb5b6511399f94ebc1571ec2e69c670b1da1ef07e018d553c070ee2a2806"
sha256 cellar: :any_skip_relocation, monterey: "64bafc6234bfa44361e6a7a97347e65802368a196e3682b0f355f1af907d7589"
sha256 cellar: :any_skip_relocation, x86_64_linux: "ffc298ee5699de4d9cd08a161a26c6ad49bce4fdbb0850184616488eabc9e63f"
end

depends_on "go" => :build

def install
ldflags = %W[
-s -w
-X github.com/Checkmarx/kics/internal/constants.Version=#{version}
]
ldflags = "-s -w -X github.com/Checkmarx/kics/v#{version.major}/internal/constants.Version=#{version}"
system "go", "build", *std_go_args(ldflags:), "./cmd/console"

pkgshare.install "assets"
Expand Down

0 comments on commit e26252c

Please sign in to comment.