mirror of
https://github.com/pgsty/minio.git
synced 2026-07-19 04:00:25 +03:00
release: Add freebsd/amd64 build and remove zip, tgz. (#1316)
This commit is contained in:
committed by
Anand Babu (AB) Periasamy
parent
ac30bef72a
commit
93666827f4
+4
-4
@@ -143,12 +143,12 @@ func getReleaseUpdate(updateURL string, noError bool) updateMessage {
|
||||
// Get the downloadURL.
|
||||
var downloadURL string
|
||||
switch runtime.GOOS {
|
||||
case "windows", "darwin":
|
||||
// For windows and darwin.
|
||||
downloadURL = newUpdateURLPrefix + "/minio.zip"
|
||||
case "windows":
|
||||
// For windows.
|
||||
downloadURL = newUpdateURLPrefix + "/minio.exe"
|
||||
default:
|
||||
// For all other operating systems.
|
||||
downloadURL = newUpdateURLPrefix + "/minio.tgz"
|
||||
downloadURL = newUpdateURLPrefix + "/minio"
|
||||
}
|
||||
|
||||
// Initialize update message.
|
||||
|
||||
Reference in New Issue
Block a user