forked from terraform-docs/terraform-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yml
125 lines (112 loc) · 3.16 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
project_name: terraform-docs
builds:
- main: .
env:
- CGO_ENABLED=0
ldflags:
- -s -w
- -X github.com/terraform-docs/terraform-docs/internal/version.commit={{ .ShortCommit }}
goos:
- darwin
- linux
- freebsd
- windows
goarch:
- amd64
- arm64
- arm
ignore:
- goos: darwin
goarch: arm
- goos: windows
goarch: arm
archives:
- format: tar.gz
name_template: "{{ .Binary }}-{{ .Tag }}-{{ .Os }}-{{ .Arch }}"
format_overrides:
- goos: windows
format: zip
files:
- LICENSE
- README.md
checksum:
name_template: "{{ .ProjectName }}-{{ .Tag }}.sha256sum"
snapshot:
name_template: "{{ .Tag }}-dev"
release:
github:
owner: terraform-docs
name: terraform-docs
header: |
## Notable Updates
footer: |
## Docker images
- `docker pull quay.io/terraform-docs/terraform-docs:latest`
- `docker pull quay.io/terraform-docs/terraform-docs:{{ .RawVersion }}`
## Contributors
Very special thanks to the contributors.
{{ .Env.Contributors }}
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
- "^Merge pull request"
groups:
- title: Dependency updates
regexp: '^.*?(.+)\(deps\)!?:.+$'
order: 300
- title: "Features"
regexp: '^.*?feat(\(.+\))??!?:.+$'
order: 100
- title: "Security updates"
regexp: '^.*?sec(\(.+\))??!?:.+$'
order: 150
- title: "Bug Fixes"
regexp: '^.*?(fix|refactor)(\(.+\))??!?:.+$'
order: 200
- title: "Chores"
order: 9999
dockers:
- dockerfile: scripts/release/Dockerfile
image_templates:
- "quay.io/terraform-docs/terraform-docs:latest-amd64"
- "quay.io/terraform-docs/terraform-docs:{{ .RawVersion }}-amd64"
use: buildx
build_flag_templates:
- "--pull"
- "--platform=linux/amd64"
- dockerfile: scripts/release/Dockerfile
image_templates:
- "quay.io/terraform-docs/terraform-docs:latest-arm64"
- "quay.io/terraform-docs/terraform-docs:{{ .RawVersion }}-arm64"
use: buildx
build_flag_templates:
- "--pull"
- "--platform=linux/arm64"
goarch: arm64
brews:
- repository:
owner: terraform-docs
name: homebrew-tap
commit_author:
name: terraform-docs-bot
email: [email protected]
url_template: "https://github.com/terraform-docs/terraform-docs/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
homepage: "https://github.com/terraform-docs/"
description: "Generate documentation from Terraform modules in various output formats"
test: |
system "#{bin}/terraform-docs version"
scoops:
- repository:
owner: terraform-docs
name: scoop-bucket
commit_author:
name: terraform-docs-bot
email: [email protected]
commit_msg_template: "Scoop update for {{ .ProjectName }} version {{ .Tag }}"
url_template: "https://github.com/terraform-docs/terraform-docs/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
homepage: "https://github.com/terraform-docs/"
description: "Generate documentation from Terraform modules in various output formats"
license: MIT