-
Notifications
You must be signed in to change notification settings - Fork 0
/
agmigrator.rb
47 lines (40 loc) · 1.58 KB
/
agmigrator.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 Agmigrator < Formula
desc "Akeyless Gateway Migrator"
homepage "https://github.com/akeyless-community/akeyless-gateway-migrator"
version "1.0.8"
on_macos do
if Hardware::CPU.arm?
url "https://github.com/akeyless-community/akeyless-gateway-migrator/releases/download/1.0.8/akeyless-gateway-migrator_Darwin_arm64.tar.gz"
sha256 "a0d34a7b73e4f4861f20e4f9096d00633beff564f389d1dd2f7278970e6d015c"
def install
bin.install "agmigrator"
end
end
if Hardware::CPU.intel?
url "https://github.com/akeyless-community/akeyless-gateway-migrator/releases/download/1.0.8/akeyless-gateway-migrator_Darwin_x86_64.tar.gz"
sha256 "a239d274dba262746396a9f4bb9211c11bbea31b64a42d52881b675740c75f57"
def install
bin.install "agmigrator"
end
end
end
on_linux do
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://github.com/akeyless-community/akeyless-gateway-migrator/releases/download/1.0.8/akeyless-gateway-migrator_Linux_arm64.tar.gz"
sha256 "29b5acc1a2919cef7f66712dc421dbe8c12dd9eaf0a80091da80556d4385b0b8"
def install
bin.install "agmigrator"
end
end
if Hardware::CPU.intel?
url "https://github.com/akeyless-community/akeyless-gateway-migrator/releases/download/1.0.8/akeyless-gateway-migrator_Linux_x86_64.tar.gz"
sha256 "35e882c7c64222f9524d549feb2b7a350036cb0a909012e9f66ce77c3cfe31be"
def install
bin.install "agmigrator"
end
end
end
end