forked from chanzuckerberg/fogg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yml
36 lines (31 loc) · 845 Bytes
/
.goreleaser.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
before:
hooks:
- make clean
- make packr
builds:
- binary: fogg
env:
- CGO_ENABLED=0
goos:
- darwin
- linux
goarch:
- amd64
- arm64
ldflags:
- '-w -s -X main.Date={{.CommitDate}} -X github.com/chanzuckerberg/fogg/util.GitSha={{.Commit}} -X github.com/chanzuckerberg/fogg/util.Version={{.Version}} -X github.com/chanzuckerberg/fogg/util.Dirty=false -X github.com/chanzuckerberg/fogg/util.Release=true'
mod_timestamp: '{{ .CommitTimestamp }}'
archives:
- files:
- none*
release:
prerelease: false
env_files:
github_token: ~/.config/goreleaser/github_token
brews:
- description: 'Terraform without pain.'
tap:
owner: chanzuckerberg
name: homebrew-tap
homepage: 'https://github.com/chanzuckerberg/fogg'
test: system "#{bin}/fogg version"