-
Notifications
You must be signed in to change notification settings - Fork 0
/
catalog-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.4.4"
on_macos do
on_intel do
url "https://github.com/incident-io/catalog-importer/releases/download/v2.4.4/catalog-importer_2.4.4_darwin_amd64.tar.gz"
sha256 "f17126f621412147602023835f778efdaeb2b52779e114d8e310cad649853d6d"
def install
bin.install "catalog-importer"
end
end
on_arm do
url "https://github.com/incident-io/catalog-importer/releases/download/v2.4.4/catalog-importer_2.4.4_darwin_arm64.tar.gz"
sha256 "ea10f2aad74eba0999d4ffc2841f174ba2abc71f1d425e0d95f801719d3a8007"
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.4.4/catalog-importer_2.4.4_linux_amd64.tar.gz"
sha256 "185e14429596ba6870d9d5e79a4707449864ccd8067cab4f373dfbd63930e447"
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.4.4/catalog-importer_2.4.4_linux_arm64.tar.gz"
sha256 "5d0e7b506ac86aeaffb4e1d244a337ad71b64b82d6d9a4088a364d23d565e7bf"
def install
bin.install "catalog-importer"
end
end
end
end
end