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:
parent
2fa9a035ca
commit
28cf506e9e
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user