Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DO NOT MERGE: Example homebrew formula with goreleaser #7

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix archive goreleaser parameter
jduepmeier committed Jun 17, 2020

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
commit 12b21db8d4c374eab5fe5f79f20f92a1818d4c42
16 changes: 13 additions & 3 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -5,7 +5,17 @@ builds:
- darwin
goarch:
- amd64
ldflags: |-
-X main.Version={{.Version}}
archive:
format: binary

archives:
- name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
format_overrides:
- goos: windows
format: zip