Skip to content

Commit 1a0cf0d

Browse files
committed
Brew formula update for oshiv version v1.2.1
1 parent ce83a8a commit 1a0cf0d

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

oshiv.rb

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# typed: false
2+
# frozen_string_literal: true
3+
4+
# This file was generated by GoReleaser. DO NOT EDIT.
5+
class Oshiv < Formula
6+
desc "Tool for finding and connecting to OCI instances"
7+
homepage "https://github.com/cnopslabs/oshiv"
8+
version "1.2.1"
9+
license "MIT"
10+
11+
on_macos do
12+
url "https://github.com/cnopslabs/oshiv/releases/download/v1.2.1/oshiv_1.2.1_darwin_all.tar.gz"
13+
sha256 "6b656d9a5014bf651a5c5b5c02df613867591f2db144583493769582b279a7e7"
14+
15+
def install
16+
bin.install "oshiv"
17+
end
18+
end
19+
20+
on_linux do
21+
if Hardware::CPU.intel?
22+
if Hardware::CPU.is_64_bit?
23+
url "https://github.com/cnopslabs/oshiv/releases/download/v1.2.1/oshiv_1.2.1_linux_amd64.tar.gz"
24+
sha256 "c10b41b26510a4cbb2d993fb33fe85bbd21e4beda598fda86124e9209857c320"
25+
26+
def install
27+
bin.install "oshiv"
28+
end
29+
end
30+
end
31+
if Hardware::CPU.arm?
32+
if Hardware::CPU.is_64_bit?
33+
url "https://github.com/cnopslabs/oshiv/releases/download/v1.2.1/oshiv_1.2.1_linux_arm64.tar.gz"
34+
sha256 "49d60bdb1737fa12b5ae108d88a210803f420f90ea471618521c6c002af311af"
35+
36+
def install
37+
bin.install "oshiv"
38+
end
39+
end
40+
end
41+
end
42+
end

0 commit comments

Comments
 (0)