mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-03-17 20:47:50 +02:00
deleting replacements
This commit is contained in:
parent
777441c45e
commit
683e6e85f2
@ -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*",
|
||||
|
Loading…
x
Reference in New Issue
Block a user