-
Notifications
You must be signed in to change notification settings - Fork 22
/
.goreleaser.yml
61 lines (53 loc) · 1.24 KB
/
.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
env:
- GO111MODULE=on
- CGO_ENABLED=0
before:
hooks:
- make mod-check
builds:
- goos:
- darwin
- windows
- linux
goarch:
- amd64
- "386"
- arm
- arm64
ldflags:
- -s -w -X main.version={{.Version}}
archives:
- format: tar.gz
name_template: "{{ .Binary }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
files:
- LICENSE*
- README*
brews:
- tap:
owner: shihanng
name: homebrew-tfvar
commit_author:
name: "Shi Han NG"
email: [email protected]
description: "Terraform's variable definitions template generator."
homepage: "https://github.com/shihanng/tfvar"
install: |
bin.install Dir['tfvar']
test: |
system "#{bin}/tfvar"
nfpms:
- homepage: https://github.com/shihanng/tfvar
maintainer: Shi Han NG <[email protected]>
file_name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
description: "Terraform's variable definitions template generator."
bindir: /usr/local/bin
license: MIT
formats:
- deb
- rpm
checksum:
name_template: "{{ .ProjectName }}_checksums.txt"
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
skip: true