Skip to content

Instantly share code, notes, and snippets.

@gmorse81
Last active February 21, 2022 04:37
Show Gist options
  • Save gmorse81/e63b4919c0c062b4286de3934fc0e984 to your computer and use it in GitHub Desktop.
Save gmorse81/e63b4919c0c062b4286de3934fc0e984 to your computer and use it in GitHub Desktop.
Sample .goreleaser file for publishing releases and to a homebrew tap
builds:
- binary: mediumautopost
goos:
- darwin
- linux
goarch:
- amd64
- arm64
env:
- CGO_ENABLED=0
flags:
- -mod=vendor
release:
prerelease: auto
universal_binaries:
- replace: true
brews:
-
name: mediumautopost
homepage: "https://github.com/askcloudarchitech/mediumautopost"
tap:
owner: askcloudarchitech
name: homebrew-askcloudarchitech
commit_author:
name: gmorse81
email: gmorse@emailaddress.com
checksum:
name_template: 'checksums.txt'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment