Skip to content

Commit

Permalink
Update kubo to 0.18.0
Browse files Browse the repository at this point in the history
  • Loading branch information
cypt4 committed Feb 2, 2023
1 parent 5f9473a commit 8d486fa
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions scripts/downloadIpfsDaemon.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ const fs = require('fs')
const mkdirp = require('mkdirp')
const path = require('path')
const util = require('../lib/util')
const ipfsVersion = '0.17.0'
const ipfsVersion = '0.18.0'

// Downloads the current (platform-specific) Ipfs Daemon from ipfs.io
const downloadIpfsDaemon = (platform, arch) => {
const ipfsPath = path.join('build', 'ipfs-daemon-updater', 'downloads')

const ipfsDistPrefix = `https://github.com/ipfs/kubo/releases/download/v${ipfsVersion}/`
const ipfsDistPrefix = `https://dist.ipfs.tech/kubo/v${ipfsVersion}/`

const zipSuffix = platform === 'win32' ? '.zip' : '.tar.gz'
const myplatform = platform === 'win32' ? 'windows' : platform
Expand All @@ -25,19 +25,19 @@ const downloadIpfsDaemon = (platform, arch) => {
let sha512IPFS = ''
switch (build) {
case 'darwin-amd64':
sha512IPFS = '8b7f8f188a723b96f34ef3a688e875079c3f58a9bc49d357bbcfbc4ad5f04799201901397ab13acdd3f7c2fed1ea7f268017ce97f66e4178182e3b35ab356103'
sha512IPFS = '690e131e68cb336e98862c982ee20536c7b051aec9d1e0ef19b791345ced4875931db73a301c475e861460c5cdbf101f651b297ca7f8402f6717485bc2adf284'
break
case 'darwin-arm64':
sha512IPFS = '11182c458f2fbcd79eca415f8a7071ad0d3b48c86104a0ccc10b728b190654370d69dedbcd02fad1fe6ce988473b175336dbaed4d9bb9079141aadd0eeea3f5f'
sha512IPFS = '66bc68631a7c589650e25adb3fe1e040ecb6a4e73e280b055227010762f400d04bb69e739fb979c66c6d1e145d172a2cdb9a76833b73cf1c56119364d9826bca'
break
case 'linux-amd64':
sha512IPFS = '380746fbb9761276a956dcea56936237acad9dc11d83f88003f9789bdee9e3dabad9f9e0b97a30c718b0c3b6db73ec9dfe811261b7997a3ec66c23aa592bc76b'
sha512IPFS = '9a0225b6f99ae1d54b8f9812d8dff49186d7890fa655d7754b7d677463033a79c5286782dfb84eae6ff2c0e77ea5feb4144c953ff8d1559d4115459623cf558c'
break
case 'linux-arm64':
sha512IPFS = '0200d8aaeed1429553f7e666f773d18dbda9ead3856fca00c17d22dadeb0f308e550386406b923cda60612ba94aaa065b3521764fccc7984019e2c37ec569c1c'
sha512IPFS = 'a1f1ea5dc425792a403e7ea8212e7c7646e9e3f740f107780749f4630156c2cbf115393a3b9912452c2a0a3c3da3bcb090f55c53c7f6fcfb7a9166be7a838f58'
break
case 'windows-amd64':
sha512IPFS = '76ceda8a850063f420f7d9b83cb58993e433629c01c7bf483b2667899b921550b6506cc83baa44db1676fd5f5a5de41ae7758fea61cd69df6b8969967ddea596'
sha512IPFS = 'ee0170b839b17f2e6b6557f2dfc146c5b527ccbfee43d5fd5a1c97c956fbb92efb0f16fe206bc7a9e9b18a1a76b11f7091bb48a94363d7c137bd864f560fe3ac'
break
default:
throw new Error('Ipfs Daemon download failed; unrecognized platform: ' + platform)
Expand Down
2 changes: 1 addition & 1 deletion scripts/packageIpfsDaemon.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const mkdirp = require('mkdirp')
const path = require('path')
const replace = require('replace-in-file')
const util = require('../lib/util')
const ipfsVersion = '0.17.0'
const ipfsVersion = '0.18.0'

const getIpfsDaemonPath = (os, arch) => {
const ipfsPath = path.join('build', 'ipfs-daemon-updater', 'downloads')
Expand Down

0 comments on commit 8d486fa

Please sign in to comment.