-
Notifications
You must be signed in to change notification settings - Fork 45
Expand file tree
/
Copy pathchangie.rb
More file actions
46 lines (41 loc) · 1.55 KB
/
Copy pathchangie.rb
File metadata and controls
46 lines (41 loc) · 1.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class Changie < Formula
desc "Automated changelog tool for preparing releases with lots of customization options."
homepage "https://changie.dev"
version "1.25.1"
license "MIT"
on_macos do
if Hardware::CPU.intel?
url "https://github.com/miniscruff/changie/releases/download/v1.25.1/changie_1.25.1_darwin_amd64.tar.gz"
sha256 "08bd7afb9ff1ee8c1130e46f5924e55673878d8a3e7ada722abd29e050da281f"
define_method(:install) do
bin.install "changie"
end
end
if Hardware::CPU.arm?
url "https://github.com/miniscruff/changie/releases/download/v1.25.1/changie_1.25.1_darwin_arm64.tar.gz"
sha256 "dc2ee4184ab6cd4153bb223dd6b631837b62ce477ae4294098a8eaf1a685243a"
define_method(:install) do
bin.install "changie"
end
end
end
on_linux do
if Hardware::CPU.intel? && Hardware::CPU.is_64_bit?
url "https://github.com/miniscruff/changie/releases/download/v1.25.1/changie_1.25.1_linux_amd64.tar.gz"
sha256 "90b90b459b345335ef5715e4e03c354cde99070729939cbab004ac37e5966630"
define_method(:install) do
bin.install "changie"
end
end
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://github.com/miniscruff/changie/releases/download/v1.25.1/changie_1.25.1_linux_arm64.tar.gz"
sha256 "115b255d2f5da1a1d50ffcd7853a2616d87a40487679d46f95a39c3956b9b618"
define_method(:install) do
bin.install "changie"
end
end
end
end