Skip to content

Commit 80b7699

Browse files
committed
changed kubo version to 17
1 parent 9f6fc48 commit 80b7699

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

cmd/blox/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,9 +209,9 @@ func CreateCustomRepo(ctx context.Context, basePath string, h host.Host, options
209209

210210
if !fsrepo.IsInitialized(repoPath) {
211211
// Create the repository if it doesn't exist
212-
212+
// Add version 17 for kubo
213213
versionFilePath := filepath.Join(repoPath, "version")
214-
versionContent := strconv.Itoa(16)
214+
versionContent := strconv.Itoa(17)
215215
if err := os.WriteFile(versionFilePath, []byte(versionContent), 0644); err != nil {
216216
return nil, err
217217
}

modules/initipfs/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ func writeIPFSConfig(path string, cfg IPFSConfig) {
424424

425425
func writePredefinedFiles(ipfsDataPath, ipfsDatastorePath string) {
426426
// Write version file
427-
if err := os.WriteFile(ipfsDataPath+"/version", []byte("16"), 0644); err != nil {
427+
if err := os.WriteFile(ipfsDataPath+"/version", []byte("17"), 0644); err != nil {
428428
fmt.Printf("Failed to write version file: %v\n", err)
429429
os.Exit(1)
430430
}

0 commit comments

Comments
 (0)