Skip to content

Instantly share code, notes, and snippets.

@chrispruitt
Created September 6, 2021 13:18
Show Gist options
  • Save chrispruitt/c21c17d405540b365dc24846b9c98e6c to your computer and use it in GitHub Desktop.
Save chrispruitt/c21c17d405540b365dc24846b9c98e6c to your computer and use it in GitHub Desktop.
# This is an example goreleaser.yaml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com
project_name: {{ .ProjectName }}
builds:
- env:
- CGO_ENABLED=0
goos:
- darwin
- windows
- linux
binary: {{ .ProjectName }}
archives:
- replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
format_overrides:
- goos: windows
format: zip
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
release:
disable: false
brews:
-
tap:
owner: chrispruitt
name: homebrew-tap
folder: Formula
commit_author:
name: chrispruitt
email: chrispruitt15@gmai.com
homepage: {{ .GitURL }}
license: "Mozilla Public License Version 2.0"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment