release: Add freebsd/amd64 build and remove zip, tgz. (#1316)

This commit is contained in:
Harshavardhana
2016-04-13 23:34:55 -07:00
committed by Anand Babu (AB) Periasamy
parent ac30bef72a
commit 93666827f4
2 changed files with 5 additions and 29 deletions
+4 -4
View File
@@ -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.