Skip to content

Commit

Permalink
Merge pull request #19 from CycloneDX/update-formula/gomod-1.9.0
Browse files Browse the repository at this point in the history
Update gomod: 1.9.0
  • Loading branch information
jkowalleck authored Jan 15, 2025
2 parents bd0e389 + f8c2241 commit 794a2de
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions Formula/cyclonedx-gomod.rb
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
class CyclonedxGomod < Formula
desc "Creates CycloneDX Software Bill of Materials (SBOM) from Go modules."
homepage "https://cyclonedx.org"
version "1.8.0"
version "1.9.0"
license "Apache-2.0"

on_macos do
if Hardware::CPU.intel?
url "https://github.com/CycloneDX/cyclonedx-gomod/releases/download/v1.8.0/cyclonedx-gomod_1.8.0_darwin_amd64.tar.gz"
sha256 "80c6b2a1f394019e3a75f643de46bf695805759abf41edf02c00c8d7327031f0"
url "https://github.com/CycloneDX/cyclonedx-gomod/releases/download/v1.9.0/cyclonedx-gomod_1.9.0_darwin_amd64.tar.gz"
sha256 "e6ccdf6d10a9a73607a65439ac56c6c5479437d8831d3cca24a86731a1e15bcd"

def install
bin.install "cyclonedx-gomod"
end
end
if Hardware::CPU.arm?
url "https://github.com/CycloneDX/cyclonedx-gomod/releases/download/v1.8.0/cyclonedx-gomod_1.8.0_darwin_arm64.tar.gz"
sha256 "86b63df8e9d47be10b4c17e4d8aabf3cf87e99599fcdc6afdedd5af20aab447a"
url "https://github.com/CycloneDX/cyclonedx-gomod/releases/download/v1.9.0/cyclonedx-gomod_1.9.0_darwin_arm64.tar.gz"
sha256 "feef9e4fdf7e97bcd7fe5312aa13e2ae53a65d52eb48f64ff110f61820e442fb"

def install
bin.install "cyclonedx-gomod"
Expand All @@ -25,16 +25,16 @@ def install

on_linux do
if Hardware::CPU.arm?
url "https://github.com/CycloneDX/cyclonedx-gomod/releases/download/v1.8.0/cyclonedx-gomod_1.8.0_linux_arm64.tar.gz"
sha256 "f0edadef154f73d416d02d6d2f9696c79514820f5ab6e043c6e24e77a5ae8714"
url "https://github.com/CycloneDX/cyclonedx-gomod/releases/download/v1.9.0/cyclonedx-gomod_1.9.0_linux_arm64.tar.gz"
sha256 "288e3ff0474fdb658e71808e788d3683f2ab93d324d53426c53580d49f04403e"

def install
bin.install "cyclonedx-gomod"
end
end
if Hardware::CPU.intel?
url "https://github.com/CycloneDX/cyclonedx-gomod/releases/download/v1.8.0/cyclonedx-gomod_1.8.0_linux_amd64.tar.gz"
sha256 "91b0391eb299ef4fce2c787244b12dfd1b0579da5cef6568d2dca40544fefadb"
url "https://github.com/CycloneDX/cyclonedx-gomod/releases/download/v1.9.0/cyclonedx-gomod_1.9.0_linux_amd64.tar.gz"
sha256 "e6d3b3a409b1c84ccef79ad15f9127d80c430a92d5c4f9e621bc2f0f3ee6d423"

def install
bin.install "cyclonedx-gomod"
Expand Down

0 comments on commit 794a2de

Please sign in to comment.