-
Notifications
You must be signed in to change notification settings - Fork 0
/
otsecret.rb
48 lines (41 loc) · 1.64 KB
/
otsecret.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
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
require_relative "lib/private_strategy"
class Otsecret < Formula
desc ""
homepage "https://github.com/envoy/homebrew-tools"
version "0.0.7"
on_macos do
if Hardware::CPU.intel?
url "https://github.com/envoy/otsecret/releases/download/v0.0.7/otsecret_0.0.7_Darwin_x86_64.tar.gz", :using => GitHubPrivateRepositoryReleaseDownloadStrategy
sha256 "22e75855ee30e5d0c5a8e750aa6ed6aab8e65cffd2432b7fa78711e0d9e58018"
def install
bin.install "otsecret"
end
end
if Hardware::CPU.arm?
url "https://github.com/envoy/otsecret/releases/download/v0.0.7/otsecret_0.0.7_Darwin_arm64.tar.gz", :using => GitHubPrivateRepositoryReleaseDownloadStrategy
sha256 "317586ae0f4c963f0ca9c2c756fb9d3809703d73b75fc1ad4a56cd5203bfd35a"
def install
bin.install "otsecret"
end
end
end
on_linux do
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://github.com/envoy/otsecret/releases/download/v0.0.7/otsecret_0.0.7_Linux_arm64.tar.gz", :using => GitHubPrivateRepositoryReleaseDownloadStrategy
sha256 "f2ae22e9ee62ed721637415d8cc9b1374efd28c378fa9a3b49228fedd67ee2aa"
def install
bin.install "otsecret"
end
end
if Hardware::CPU.intel?
url "https://github.com/envoy/otsecret/releases/download/v0.0.7/otsecret_0.0.7_Linux_x86_64.tar.gz", :using => GitHubPrivateRepositoryReleaseDownloadStrategy
sha256 "54cd493f96a7d73e8b98f52d53bc34a3e7cec9c62d020476c7a8726f97dbb262"
def install
bin.install "otsecret"
end
end
end
end