-
Notifications
You must be signed in to change notification settings - Fork 3
/
.goreleaser.yaml
78 lines (77 loc) · 2 KB
/
.goreleaser.yaml
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
before:
hooks:
- go mod tidy
- go generate ./...
builds:
- env:
- CGO_ENABLED=0
mod_timestamp: '{{ .CommitTimestamp }}'
ldflags:
- -s -w -X github.com/containerscrew/tftools/cmd.version={{ .Tag }}
goos:
- linux
- darwin
goarch:
- amd64
- arm64
binary: 'tftools'
archives:
- format: tar.gz
name_template: '{{ .ProjectName }}-{{ .Os }}-{{ .Arch }}'
nfpms:
- id: tftools
package_name: tftools
file_name_template: '{{ .ProjectName }}-{{ .Os }}-{{ .Arch }}'
homepage: https://github.com/containerscrew/tftools
vendor: Containerscrew
description: Easy CLI with useful terraform/terragrunt tools
maintainer: Containerscrew <info@containerscrew.com>
license: Apache 2.0 license
formats:
- apk
- deb
- rpm
- archlinux
checksum:
name_template: "checksums.txt"
algorithm: sha256
signs:
- artifacts: checksum
cmd: gpg2
signature: "${artifact}_sig"
output: true # for testing
args: ["--batch", "-u", "{{ .Env.GPG_FINGERPRINT }}", "--output", "${signature}", "--detach-sign", "${artifact}"]
# Stdin data to be given to the signature command as stdin.
#
# Templates: allowed
# stdin: '{{ .Env.GPG_PASSWORD }}'
#
# # StdinFile file to be given to the signature command as stdin.
# stdin_file: ./.password
snapshot:
name_template: "{{ .Tag }}"
release:
draft: false
changelog:
sort: asc
skip: false
use: github
filters:
exclude:
- '^docs:'
- '^test:'
# homebrew package
brews:
- # GitHub repository to push the formula
tap:
owner: containerscrew
name: tftools
name: tftools
url_template: "https://github.com/containerscrew/tftools/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
homepage: https://github.com/containerscrew/tftools
commit_author:
name: goreleaserbot
email: bot@goreleaser.com
folder: Formula
description: "Easy CLI with useful terraform/terragrunt tools"
license: "Apache 2.0 license"