| 1 |
# typed: false |
| 2 |
# frozen_string_literal: true |
| 3 |
|
| 4 |
# This file was generated by GoReleaser. DO NOT EDIT. |
| 5 |
class Changie < Formula |
| 6 |
desc "Automated changelog tool for preparing releases with lots of customization options." |
| 7 |
homepage "https://changie.dev" |
| 8 |
version "1.25.2" |
| 9 |
license "MIT" |
| 10 |
|
| 11 |
on_macos do |
| 12 |
if Hardware::CPU.intel? |
| 13 |
url "https://github.com/miniscruff/changie/releases/download/v1.25.2/changie_1.25.2_darwin_amd64.tar.gz" |
| 14 |
sha256 "729561d13d45c2cdf0daef2c6eb494bf185135747bbdf600e4e0e586683f372b" |
| 15 |
|
| 16 |
define_method(:install) do |
| 17 |
bin.install "changie" |
| 18 |
end |
| 19 |
end |
| 20 |
if Hardware::CPU.arm? |
| 21 |
url "https://github.com/miniscruff/changie/releases/download/v1.25.2/changie_1.25.2_darwin_arm64.tar.gz" |
| 22 |
sha256 "03205b2ddc042458693e4e8e1d663d0bcc1cec9c519e15e92c8b81a286e0977e" |
| 23 |
|
| 24 |
define_method(:install) do |
| 25 |
bin.install "changie" |
| 26 |
end |
| 27 |
end |
| 28 |
end |
| 29 |
|
| 30 |
on_linux do |
| 31 |
if Hardware::CPU.intel? && Hardware::CPU.is_64_bit? |
| 32 |
url "https://github.com/miniscruff/changie/releases/download/v1.25.2/changie_1.25.2_linux_amd64.tar.gz" |
| 33 |
sha256 "7489b5a6a595e5a9f8b0d392114b10c130634639ef1190fafb2f15a5cd9058cd" |
| 34 |
define_method(:install) do |
| 35 |
bin.install "changie" |
| 36 |
end |
| 37 |
end |
| 38 |
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit? |
| 39 |
url "https://github.com/miniscruff/changie/releases/download/v1.25.2/changie_1.25.2_linux_arm64.tar.gz" |
| 40 |
sha256 "84c3f158906da24f9a4941518dcf55a2badf9524bfb9579c78b5e7876ae675fa" |
| 41 |
define_method(:install) do |
| 42 |
bin.install "changie" |
| 43 |
end |
| 44 |
end |
| 45 |
end |
| 46 |
end |