Skip to content

Commit f2d83ab

Browse files
authored
⭐️ use amd64 postgres on arm64 macOS (#26)
1 parent cca3b64 commit f2d83ab

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

version_strategy.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ func defaultVersionStrategy(config Config) VersionStrategy {
2121
}
2222
}
2323

24+
// at this point, postgres is not available for macos on arm
25+
if goos == "darwin" && arch == "arm64" {
26+
arch = "amd64"
27+
}
28+
2429
return goos, arch, config.version
2530
}
2631
}

0 commit comments

Comments
 (0)