File tree 4 files changed +6
-6
lines changed
4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ import qualified Fission.CLI.IPFS.Version.Types as IPFS
9
9
10
10
type GetRelease
11
11
= " ipfs"
12
- :> " go-ipfs "
12
+ :> " kubo "
13
13
:> " releases"
14
14
:> " download"
15
15
:> Capture " version" IPFS. Version
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ place' host = do
71
71
IPFS. BinPath ipfsPath <- Path. globalIPFSBin
72
72
73
73
-- Network
74
- ipfsBin <- ensureM . unpack =<< download (IPFS. Version 0 12 2 ) host
74
+ ipfsBin <- ensureM . unpack =<< download (IPFS. Version 0 17 0 ) host
75
75
76
76
logDebug @ Text " 🚎 Moving IPFS into place..."
77
77
File. lazyForceWrite ipfsPath ipfsBin
@@ -89,7 +89,7 @@ download ::
89
89
-> OS. Supported
90
90
-> m Lazy. ByteString
91
91
download version os = do
92
- logDebug $ " ⬇️ Downloading go-ipfs " <> display version <> " for " <> display os
92
+ logDebug $ " ⬇️ Downloading kubo " <> display version <> " for " <> display os
93
93
ensureM . GitHub. sendRequest $ IPFS. getRelease IPFS. Release {.. }
94
94
95
95
unpack :: (MonadIO m , MonadLogger m ) => Lazy. ByteString -> m (Either (NotFound FilePath ) Lazy. ByteString )
@@ -104,7 +104,7 @@ unpack tarGz = do
104
104
getIPFS :: Tar. Entry -> Either (NotFound FilePath ) Lazy. ByteString -> Either (NotFound FilePath ) Lazy. ByteString
105
105
getIPFS entry acc =
106
106
case (Tar. entryPath entry, Tar. entryContent entry) of
107
- (" go-ipfs /ipfs" , Tar. NormalFile ipfsBin _) -> Right ipfsBin
107
+ (" kubo /ipfs" , Tar. NormalFile ipfsBin _) -> Right ipfsBin
108
108
_ -> acc
109
109
110
110
configure ::
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ data Release = Release
17
17
instance Display Release where
18
18
display Release {.. } =
19
19
mconcat
20
- [ " go-ipfs_ "
20
+ [ " kubo_ "
21
21
, display version
22
22
, " _"
23
23
, osLabel
Original file line number Diff line number Diff line change 1
1
name : fission-cli
2
- version : " 2.19 .0.0"
2
+ version : " 2.20 .0.0"
3
3
category : CLI
4
4
author :
5
5
- Brooklyn Zelenka
You can’t perform that action at this time.
0 commit comments