Skip to content

Commit

Permalink
Update GoReleaser config
Browse files Browse the repository at this point in the history
  • Loading branch information
citizen428 committed May 18, 2022
1 parent 6d6c81d commit f539c46
Showing 1 changed file with 35 additions and 37 deletions.
72 changes: 35 additions & 37 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,45 +1,43 @@

env:
- GO111MODULE=on
- CGO_ENABLED=0
before:
hooks:
- go mod tidy
builds:
-
env:
- CGO_ENABLED=0
- main: ./cmd/unsavory/
ldflags:
- "-s -w"
goos:
- darwin
- freebsd
- linux
- openbsd
- windows
goarch:
- i386
- amd64
- arm
- arm64
goarm:
- 6
- 7
ignore:
- goos: darwin
goarch: 386
- goos: darwin
goarch: arm
- goos: darwin
goarch: arm64
- goos: windows
goarch: 386
- goos: windows
goarch: arm

archives:
- format: tar.gz
format_overrides:
- goos: windows
goarch: arm64
flags: -tags netgo
main: ./cmd/unsavory/main.go
format: zip
replacements:
darwin: macOS
linux: Linux
windows: Windows
386: i386
amd64: x86_64
wrap_in_directory: true

snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
- Dockerfile
brew:
github:
owner: citizen428
name: homebrew-tap
homepage: "https://github.com/citizen428/unsavory"
description: "Removes outdated Pinboard bookmarks"

brews:
- name: unsavory
tap:
owner: citizen428
name: homebrew-tap
homepage: "https://github.com/citizen428/unsavory"
description: "Removes outdated Pinboard bookmarks"
license: "MIT"

0 comments on commit f539c46

Please sign in to comment.