forked from bwhaley/ssmsh
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathssmsh.rb
48 lines (41 loc) · 1.38 KB
/
ssmsh.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.
class Ssmsh < Formula
desc "A shell for the EC2 Parameter Store"
homepage "https://github.com/bwhaley/ssmsh"
version "1.4.7"
license "MIT"
on_macos do
if Hardware::CPU.intel?
url "https://github.com/bwhaley/ssmsh/releases/download/v1.4.7/ssmsh_1.4.7_darwin_amd64.tar.gz"
sha256 "885c2a05611c7f79b75fc187f5f01abb5835f12e76a75beb79f34f4117d12dd3"
def install
bin.install "ssmsh"
end
end
if Hardware::CPU.arm?
url "https://github.com/bwhaley/ssmsh/releases/download/v1.4.7/ssmsh_1.4.7_darwin_arm64.tar.gz"
sha256 "0987f5636170faa3b780f3475d6bc84a778f8a156afb584137156d7888671f29"
def install
bin.install "ssmsh"
end
end
end
on_linux do
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://github.com/bwhaley/ssmsh/releases/download/v1.4.7/ssmsh_1.4.7_linux_arm64.tar.gz"
sha256 "c57ad96c8a9bf78b715a6ccf9c2f29a20ee6a3c8a498e734da0ce6fbcb4f13a5"
def install
bin.install "ssmsh"
end
end
if Hardware::CPU.intel?
url "https://github.com/bwhaley/ssmsh/releases/download/v1.4.7/ssmsh_1.4.7_linux_amd64.tar.gz"
sha256 "9b68bc98984928bcfbdbe8948d5c82d0317370f09cb5f13e71a068e1ea8c64ba"
def install
bin.install "ssmsh"
end
end
end
end