-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcatalog-importer.rb
51 lines (44 loc) · 1.57 KB
/
catalog-importer.rb
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
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class CatalogImporter < Formula
desc "Official incident.io catalog importer, for syncing catalog entries."
homepage "https://incident.io/"
version "2.5.0"
on_macos do
on_intel do
url "https://github.com/incident-io/catalog-importer/releases/download/v2.5.0/catalog-importer_2.5.0_darwin_amd64.tar.gz"
sha256 "3c72b779ade89988858cd2e107bda5c3eac4f4fabca5c2d2f471f86af372f146"
def install
bin.install "catalog-importer"
end
end
on_arm do
url "https://github.com/incident-io/catalog-importer/releases/download/v2.5.0/catalog-importer_2.5.0_darwin_arm64.tar.gz"
sha256 "60fa37408705eaf77aa08b24b6d65fb78e5abef3aa8e77adb5e7e8e872096102"
def install
bin.install "catalog-importer"
end
end
end
on_linux do
on_intel do
if Hardware::CPU.is_64_bit?
url "https://github.com/incident-io/catalog-importer/releases/download/v2.5.0/catalog-importer_2.5.0_linux_amd64.tar.gz"
sha256 "badf8e5ee983f79d0abe5c0cbb47f83bba23c268a41ae4a1d05744dfc0e3d2f1"
def install
bin.install "catalog-importer"
end
end
end
on_arm do
if Hardware::CPU.is_64_bit?
url "https://github.com/incident-io/catalog-importer/releases/download/v2.5.0/catalog-importer_2.5.0_linux_arm64.tar.gz"
sha256 "6d770372b538cadfbaaee68765afdfccd5c14e473056dac6b58d2428280748d2"
def install
bin.install "catalog-importer"
end
end
end
end
end