-
Notifications
You must be signed in to change notification settings - Fork 0
/
catalog-importer.rb
47 lines (40 loc) · 1.54 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
# 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.2.3"
on_macos do
if Hardware::CPU.intel?
url "https://github.com/incident-io/catalog-importer/releases/download/v2.2.3/catalog-importer_2.2.3_darwin_amd64.tar.gz"
sha256 "ca0e652544c9889e6aefa4a7e34d141050e356c1841ef32711d9081a58216d90"
def install
bin.install "catalog-importer"
end
end
if Hardware::CPU.arm?
url "https://github.com/incident-io/catalog-importer/releases/download/v2.2.3/catalog-importer_2.2.3_darwin_arm64.tar.gz"
sha256 "a1ca85b255dc66cf0ae933658bc79a9f077307ea15da89fb97e5a4be7f173530"
def install
bin.install "catalog-importer"
end
end
end
on_linux do
if Hardware::CPU.intel?
url "https://github.com/incident-io/catalog-importer/releases/download/v2.2.3/catalog-importer_2.2.3_linux_amd64.tar.gz"
sha256 "854fbf9b8105b590f985ec002d5dfffc8b72db3f19eb4546d2718aa043062b9f"
def install
bin.install "catalog-importer"
end
end
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://github.com/incident-io/catalog-importer/releases/download/v2.2.3/catalog-importer_2.2.3_linux_arm64.tar.gz"
sha256 "a057274b1e5a190f5ea2a5813402e49efcb0dca02824f9b28cd613df373aed3a"
def install
bin.install "catalog-importer"
end
end
end
end