Skip to content

Commit

Permalink
Simplify goreleaser config
Browse files Browse the repository at this point in the history
  • Loading branch information
muesli committed Oct 4, 2020
1 parent ac19835 commit 1944d2e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 18 deletions.
18 changes: 2 additions & 16 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ builds:
goos:
- linux
- freebsd
- darwin
goarch:
- amd64
- arm64
Expand All @@ -19,33 +20,18 @@ builds:
- 6
- 7

- id: "darwin"
binary: "duf"
ldflags: -s -w -X main.Version={{ .Version }} -X main.CommitSHA={{ .Commit }}
goos:
- darwin
goarch:
- amd64

archives:
- id: default
builds:
- duf
replacements:
386: i386
amd64: x86_64

- id: darwin
builds:
- darwin
replacements:
darwin: Darwin
386: i386
amd64: x86_64

nfpms:
- builds:
- duf

vendor: muesli
homepage: "https://fribbledom.com/"
maintainer: "Christian Muehlhaeuser <[email protected]>"
Expand Down
2 changes: 0 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/google/goterm v0.0.0-20190703233501-fc88cf888a3f h1:5CjVwnuUcp5adK4gmY6i72gpVFVnZDP2h5TmPScB6u4=
github.com/google/goterm v0.0.0-20190703233501-fc88cf888a3f/go.mod h1:nOFQdrUlIlx6M6ODdSpBj1NVA+VgLC6kmw60mkw34H4=
github.com/jedib0t/go-pretty/v6 v6.0.4 h1:7WaHUeKo5yc2vABlsh30p4VWxQoXaWktBY/nR/2qnPg=
github.com/jedib0t/go-pretty/v6 v6.0.4/go.mod h1:MTr6FgcfNdnN5wPVBzJ6mhJeDyiF0yBvS2TMXEV/XSU=
github.com/jedib0t/go-pretty/v6 v6.0.5 h1:oOo0/jSb3NEYKT6l1hhFXoX2UZnkanMuCE2DVT1mqnE=
github.com/jedib0t/go-pretty/v6 v6.0.5/go.mod h1:MTr6FgcfNdnN5wPVBzJ6mhJeDyiF0yBvS2TMXEV/XSU=
github.com/lucasb-eyer/go-colorful v1.0.3 h1:QIbQXiugsb+q10B+MI+7DI1oQLdmnep86tWFlaaUAac=
Expand Down

0 comments on commit 1944d2e

Please sign in to comment.