Skip to content

Commit

Permalink
Merge pull request #16 from CycloneDX/update-formula/gomod-1.8.0
Browse files Browse the repository at this point in the history
Update gomod: 1.8.0
  • Loading branch information
jkowalleck authored Oct 28, 2024
2 parents 177c175 + de7896e commit 13d3b4c
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.7.0"
version "1.8.0"
license "Apache-2.0"

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

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

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.7.0/cyclonedx-gomod_1.7.0_linux_arm64.tar.gz"
sha256 "71d6694d3b1ca18c4f3fd1dfa1af5c7bbcd3253ccf95ed9009bf88399c701c76"
url "https://github.com/CycloneDX/cyclonedx-gomod/releases/download/v1.8.0/cyclonedx-gomod_1.8.0_linux_arm64.tar.gz"
sha256 "f0edadef154f73d416d02d6d2f9696c79514820f5ab6e043c6e24e77a5ae8714"

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

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

0 comments on commit 13d3b4c

Please sign in to comment.