1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-03-17 20:47:50 +02:00

deleting replacements

This commit is contained in:
Carlos Alexandro Becker 2017-05-18 13:08:11 -03:00
parent 777441c45e
commit 683e6e85f2
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

View File

@ -81,18 +81,6 @@ func setArchiveDefaults(ctx *context.Context) error {
if ctx.Config.Archive.Format == "" {
ctx.Config.Archive.Format = "tar.gz"
}
if len(ctx.Config.Archive.Replacements) == 0 {
ctx.Config.Archive.Replacements = map[string]string{
"darwin": "Darwin",
"linux": "Linux",
"freebsd": "FreeBSD",
"openbsd": "OpenBSD",
"netbsd": "NetBSD",
"windows": "Windows",
"386": "i386",
"amd64": "x86_64",
}
}
if len(ctx.Config.Archive.Files) == 0 {
ctx.Config.Archive.Files = []string{
"licence*",