mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-03-17 20:47:50 +02:00
breaking: do not default to uname values
check discussion on #236 closes #236
This commit is contained in:
parent
ca3c485a58
commit
777441c45e
@ -276,8 +276,6 @@ archive:
|
||||
# Replacements for GOOS and GOARCH on the archive name.
|
||||
# The keys should be valid GOOS or GOARCH values followed by your custom
|
||||
# replacements.
|
||||
# By default, `replacements` replace GOOS and GOARCH values with valid outputs
|
||||
# of `uname -s` and `uname -m` respectively.
|
||||
replacements:
|
||||
amd64: 64-bit
|
||||
386: 32-bit
|
||||
|
@ -13,6 +13,12 @@ build:
|
||||
- arm
|
||||
- arm64
|
||||
archive:
|
||||
replacements:
|
||||
darwin: Darwin
|
||||
linux: Linux
|
||||
windows: Windows
|
||||
386: i386
|
||||
amd64: x86_64
|
||||
format_overrides:
|
||||
- goos: windows
|
||||
format: zip
|
||||
|
@ -34,7 +34,6 @@ func TestFillBasicData(t *testing.T) {
|
||||
assert.Contains(ctx.Config.Build.Goarch, "amd64")
|
||||
assert.Contains(ctx.Config.Brew.Install, "bin.install \"goreleaser\"")
|
||||
assert.NotEmpty(
|
||||
ctx.Config.Archive.Replacements,
|
||||
ctx.Config.Archive.NameTemplate,
|
||||
ctx.Config.Build.Ldflags,
|
||||
ctx.Config.Archive.Files,
|
||||
|
Loading…
x
Reference in New Issue
Block a user