-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsince.rb
More file actions
61 lines (53 loc) · 1.95 KB
/
since.rb
File metadata and controls
61 lines (53 loc) · 1.95 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class Since < Formula
desc "Parses git log and generates changelog entries. Calculates the next version based on semver and conventional commits. Parses changelog files and extract changes for a given version."
homepage "https://github.com/release-tools/since"
version "0.16.2"
on_macos do
if Hardware::CPU.intel?
url "https://github.com/release-tools/since/releases/download/v0.16.2/since_0.16.2_darwin_amd64.tar.gz"
sha256 "fcbb2030f8453865d35a47a03bfe3ba68e678fb409ec138f8d2abe223b601cf8"
def install
bin.install "since"
end
end
if Hardware::CPU.arm?
url "https://github.com/release-tools/since/releases/download/v0.16.2/since_0.16.2_darwin_arm64.tar.gz"
sha256 "dabb3f2112bdd8440ed11395dbf2485764da13877811bbe64b5f6a0be5eb1982"
def install
bin.install "since"
end
end
end
on_linux do
if Hardware::CPU.intel?
if Hardware::CPU.is_64_bit?
url "https://github.com/release-tools/since/releases/download/v0.16.2/since_0.16.2_linux_amd64.tar.gz"
sha256 "a933892b85156e593d4fad17d32daf89df4f085d145a36c1fe96ac2e06ca898e"
def install
bin.install "since"
end
end
end
if Hardware::CPU.arm?
if !Hardware::CPU.is_64_bit?
url "https://github.com/release-tools/since/releases/download/v0.16.2/since_0.16.2_linux_armv6.tar.gz"
sha256 "4a137eaa558193ddaff6be13367359b2a85d3b7c4a2763058ed3b38add29deb9"
def install
bin.install "since"
end
end
end
if Hardware::CPU.arm?
if Hardware::CPU.is_64_bit?
url "https://github.com/release-tools/since/releases/download/v0.16.2/since_0.16.2_linux_arm64.tar.gz"
sha256 "7d712fe0ee7b6298a6cffe025beb77abf03889ae2a7a8a56061dd88941313a2b"
def install
bin.install "since"
end
end
end
end
end