5
5
class XiondAT18 < Formula
6
6
desc "Xiond is the Cosmos SDK based blockchain cli/daemon for the Xion Network."
7
7
homepage "https://xion.burnt.com/"
8
- version "18.0.0 "
8
+ version "18.0.1 "
9
9
license "Apache2.0"
10
10
11
11
on_macos do
12
12
if Hardware ::CPU . intel?
13
- url "https://github.com/burnt-labs/xion/releases/download/v18.0.0 /xiond_18.0.0_darwin_amd64.zip" , using : :homebrew_curl
14
- sha256 "bf8fa7743d7aab33396d9122ab3817224d41bbbcf410424c993b1d25911faee6 "
13
+ url "https://github.com/burnt-labs/xion/releases/download/v18.0.1 /xiond_18.0.1_darwin_amd64.tar.gz"
14
+ sha256 "e1d0bde096c0bd560d816e09d615fc281cce9d6f504420990672c01288d75a02 "
15
15
16
16
def install
17
17
bin . install "xiond"
18
18
end
19
19
end
20
20
if Hardware ::CPU . arm?
21
- url "https://github.com/burnt-labs/xion/releases/download/v18.0.0 /xiond_18.0.0_darwin_arm64.zip" , using : :homebrew_curl
22
- sha256 "1f8799dc21ff348ca71e25864e12b1b07c2d9be66359eab9c420887178403d9d "
21
+ url "https://github.com/burnt-labs/xion/releases/download/v18.0.1 /xiond_18.0.1_darwin_arm64.tar.gz"
22
+ sha256 "ea073b1d58c1a226df34b69be6c98800d3a8cd9a97771ebc1d45fdce8d96cf5c "
23
23
24
24
def install
25
25
bin . install "xiond"
@@ -28,25 +28,23 @@ def install
28
28
end
29
29
30
30
on_linux do
31
- if Hardware ::CPU . intel?
32
- if Hardware ::CPU . is_64_bit?
33
- url "https://github.com/burnt-labs/xion/releases/download/v18.0.0/xiond_18.0.0_linux_amd64.zip" , using : :homebrew_curl
34
- sha256 "361ff8194f0f2601fd8a0759eb218b27d62d236618ca7c623481c64ec7c85a8c"
35
-
36
- def install
37
- bin . install "xiond"
38
- end
31
+ if Hardware ::CPU . intel? and Hardware ::CPU . is_64_bit?
32
+ url "https://github.com/burnt-labs/xion/releases/download/v18.0.1/xiond_18.0.1_linux_amd64.tar.gz"
33
+ sha256 "2f8b93ad016b8960234fd2fc3eb365b212517c59c19edb1ff5d964d3d5588e26"
34
+ def install
35
+ bin . install "xiond"
39
36
end
40
37
end
41
- if Hardware ::CPU . arm?
42
- if Hardware ::CPU . is_64_bit?
43
- url "https://github.com/burnt-labs/xion/releases/download/v18.0.0/xiond_18.0.0_linux_arm64.zip" , using : :homebrew_curl
44
- sha256 "1f49577bd44ea2a4072d88e6934e124d44594489b76d33922c4a8803db08303c"
45
-
46
- def install
47
- bin . install "xiond"
48
- end
38
+ if Hardware ::CPU . arm? and Hardware ::CPU . is_64_bit?
39
+ url "https://github.com/burnt-labs/xion/releases/download/v18.0.1/xiond_18.0.1_linux_arm64.tar.gz"
40
+ sha256 "b48a77972e23a459b7d1ac48e2315e3646332c4d520a8ca0364ba7c3d4aef8f2"
41
+ def install
42
+ bin . install "xiond"
49
43
end
50
44
end
51
45
end
46
+
47
+ test do
48
+ system "#{ bin } /xiond version"
49
+ end
52
50
end
0 commit comments