1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-04-13 11:50:34 +02:00

Update ext.go

This commit is contained in:
Carlos Alexandro Becker 2017-06-30 14:21:02 -03:00 committed by GitHub
parent 2fa9a035ca
commit 28cf506e9e

View File

@ -2,6 +2,7 @@ package ext
import "strings"
// For returns the binary extension for the given platform
func For(platform string) (ext string) {
if strings.HasPrefix(platform, "windows") {
ext = ".exe"