diff --git a/Formula/git-cliff.rb b/Formula/git-cliff.rb index f70dbd9e05b71..88971d1094ea9 100644 --- a/Formula/git-cliff.rb +++ b/Formula/git-cliff.rb @@ -1,24 +1,23 @@ class GitCliff < Formula desc "Highly customizable changelog generator" homepage "https://github.com/orhun/git-cliff" - url "https://github.com/orhun/git-cliff/archive/refs/tags/v1.1.2.tar.gz" - sha256 "26f05e4cfea07768d06ae92cd4b34bae786ed354089d9b5b1659d6408bf583c6" + url "https://github.com/orhun/git-cliff/archive/refs/tags/v1.2.0.tar.gz" + sha256 "10db6fd8fe777f384de2e00336b1cb664095a2f068526f8ace4e7944a7ada270" license "GPL-3.0-only" - revision 1 bottle do - sha256 cellar: :any, arm64_ventura: "e5dcb55037110786129976cfa7406f37719eceba17df62988f90c1a4470f6b9d" - sha256 cellar: :any, arm64_monterey: "cb25e8d7b22715512441c6d99f42df5f97267ebdf2bdc70918198a3ab5f69c92" - sha256 cellar: :any, arm64_big_sur: "4ea6f3785a42118e97a008b0d897c8669032aeb7072d78ebb8e63b4445e2223f" - sha256 cellar: :any, ventura: "7c64d7d0219b6eefa4e7914de112a4665121b18f99d923bd563b80328fa8156e" - sha256 cellar: :any, monterey: "96bf1ea1fbcd777745f37350e308231b0447da4d40009ff317689d6d8fab8a22" - sha256 cellar: :any, big_sur: "6f0c044733ad84e49634c0306f813703f76e26f6c0f9bdc1af909bf403395750" - sha256 cellar: :any_skip_relocation, x86_64_linux: "cae134bba4b70583342c6ebe59a19da904cfb35c7fbe2ee4d558c227bde45af7" + sha256 cellar: :any, arm64_ventura: "67e97f4a1b6da20215be6400dcf1b93c107a044c848fc1545d8ee8033f4d7c0a" + sha256 cellar: :any, arm64_monterey: "d91841d5a53dca96decb13f9e1471a1b09760f193cfcd6171841b7a8118c0d3b" + sha256 cellar: :any, arm64_big_sur: "2873a85f1fc86aee18de54885e25254be210a9d53c4de3846c427da2cce1fce8" + sha256 cellar: :any, ventura: "3fae07e67f5360602f67b04e5577a7cf429bf53c84de67599d910417f2f62874" + sha256 cellar: :any, monterey: "ef43f2262656247517e3c3e0ec372205c4f02b5c3664200c2a77c202852a9e74" + sha256 cellar: :any, big_sur: "14e2fcd17a28ffb622329ccb31bb7af84ac0b85da93c37a6dee9c32aad9bcb14" + sha256 cellar: :any_skip_relocation, x86_64_linux: "82d81f3e300727fc927c63bbfd7552569e0ea0e84ff971c575fe0d93c262ecd9" end depends_on "pkg-config" => :build depends_on "rust" => :build - depends_on "libgit2@1.5" + depends_on "libgit2" def install system "cargo", "install", *std_cargo_args(path: "git-cliff") @@ -43,7 +42,7 @@ def install linkage_with_libgit2 = (bin/"git-cliff").dynamically_linked_libraries.any? do |dll| next false unless dll.start_with?(HOMEBREW_PREFIX.to_s) - File.realpath(dll) == (Formula["libgit2@1.5"].opt_lib/shared_library("libgit2")).realpath.to_s + File.realpath(dll) == (Formula["libgit2"].opt_lib/shared_library("libgit2")).realpath.to_s end assert linkage_with_libgit2, "No linkage with libgit2! Cargo is likely using a vendored version."