-
Notifications
You must be signed in to change notification settings - Fork 4
/
.goreleaser.yml
58 lines (58 loc) · 1.33 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
version: 2
archives:
- format_overrides:
- goos: windows
format: zip
before:
hooks:
- go mod download
brews:
- dependencies:
- go
description: Terraform Provider Documentation Tool
directory: Formula
repository:
owner: bflad
name: homebrew-tap
homepage: https://github.com/bflad/tfproviderdocs
install: |
bin.install "tfproviderdocs"
test: |
system "#{bin}/tfproviderdocs -v"
builds:
- env:
- CGO_ENABLED=0
goos:
- darwin
- windows
- linux
goarch:
- amd64
- arm64
- 386
ldflags:
- -s -w -X github.com/bflad/tfproviderdocs/version.Version={{.Version}} -X github.com/bflad/tfproviderdocs/version.VersionPrerelease=
main: .
changelog:
disable: true
dockers:
- build_flag_templates:
- "--label=org.label-schema.schema-version=1.0"
- "--label=org.label-schema.version={{.Version}}"
- "--label=org.label-schema.name={{.ProjectName}}"
image_templates:
- 'bflad/tfproviderdocs:{{ .Version }}'
- 'bflad/tfproviderdocs:{{ .Major }}.{{ .Minor }}'
- 'bflad/tfproviderdocs:latest'
milestones:
- close: true
signs:
- artifacts: checksum
args:
- "--batch"
- "--local-user"
- "{{ .Env.GPG_FINGERPRINT }}"
- "--output"
- "${signature}"
- "--detach-sign"
- "${artifact}"