5
5
class Xiond < 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 "14 .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 "
14
- sha256 "bf8fa7743d7aab33396d9122ab3817224d41bbbcf410424c993b1d25911faee6 "
13
+ url "https://github.com/burnt-labs/xion/releases/download/v14 .0.1/xiond_14 .0.1_darwin_amd64.tar.gz "
14
+ sha256 "076fc88b2f4059584974404cf44d5954d71e5ea3c1b096dbaee7859ba0d91ebe "
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 "
22
- sha256 "1f8799dc21ff348ca71e25864e12b1b07c2d9be66359eab9c420887178403d9d "
21
+ url "https://github.com/burnt-labs/xion/releases/download/v14 .0.1/xiond_14 .0.1_darwin_arm64.tar.gz "
22
+ sha256 "84e43915a63e55415b7f4ffcced7d6de78fb340867d4214cfc8c64b4407a96db "
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"
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/v14.0.1/xiond_14.0.1_linux_amd64.tar.gz"
33
+ sha256 "abdc1ca25ddd9ab418453d793d025cfdadd28380fb1c0a2e0ea273b67c6cc12d"
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"
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/v14.0.1/xiond_14.0.1_linux_arm64.tar.gz"
40
+ sha256 "c5fae6ec043294a93b1d0dbc7340bc7e1cf9a6eb2199cbb3d0b3d5ebc0a97377"
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