Skip to content

Commit

Permalink
Update goreleaser config
Browse files Browse the repository at this point in the history
  • Loading branch information
muesli committed Apr 28, 2021
1 parent bd9e8e8 commit 2b0d2b8
Showing 1 changed file with 14 additions and 32 deletions.
46 changes: 14 additions & 32 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,17 @@ env:
- GO111MODULE=on
before:
hooks:
- go mod download
- go mod tidy
builds:
-
id: "markscribe"
binary: markscribe
- binary: markscribe
flags:
- -trimpath
ldflags: -s -w -X main.Version={{ .Version }} -X main.CommitSHA={{ .Commit }}
goos:
- linux
- freebsd
- openbsd
- darwin
- windows
goarch:
- amd64
Expand All @@ -20,38 +22,20 @@ builds:
goarm:
- 6
- 7
-
id: "darwin"
binary: "markscribe"
ldflags: -s -w -X main.Version={{ .Version }} -X main.CommitSHA={{ .Commit }}
goos:
- darwin
goarch:
- amd64

archives:
- id: default
builds:
- markscribe
format_overrides:
- format_overrides:
- goos: windows
format: zip
replacements:
windows: Windows
386: i386
amd64: x86_64
- id: darwin
builds:
- darwin
replacements:
darwin: Darwin
386: i386
amd64: x86_64

nfpms:
-
builds:
- markscribe

- builds:
- markscribe
vendor: muesli
homepage: "https://fribbledom.com/"
maintainer: "Christian Muehlhaeuser <[email protected]>"
Expand All @@ -63,9 +47,7 @@ nfpms:
bindir: /usr/bin

brews:
- ids:
- darwin
github:
- tap:
owner: muesli
name: homebrew-tap
commit_author:
Expand All @@ -79,12 +61,12 @@ signs:
- artifacts: checksum

checksum:
name_template: 'checksums.txt'
name_template: "checksums.txt"
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
- "^docs:"
- "^test:"

0 comments on commit 2b0d2b8

Please sign in to comment.