-
Notifications
You must be signed in to change notification settings - Fork 25
/
.goreleaser.yml
73 lines (73 loc) · 1.82 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
version: 2
archives:
- format_overrides:
- goos: windows
format: zip
before:
hooks:
- go mod download
brews:
- dependencies:
- go
description: Terraform Provider Linter
directory: Formula
repository:
owner: bflad
name: homebrew-tap
homepage: https://github.com/bflad/tfproviderlint
install: |
bin.install "tfproviderlint"
test: |
system "#{bin}/tfproviderlint -V"
builds:
- env:
- CGO_ENABLED=0
goos:
- darwin
- windows
- linux
goarch:
- amd64
- 386
- arm64
ldflags:
- -s -w -X github.com/bflad/tfproviderlint/version.Version={{.Version}} -X github.com/bflad/tfproviderlint/version.VersionPrerelease= -X github.com/bflad/tfproviderlint/version.GitCommit={{.ShortCommit}}
main: ./cmd/tfproviderlint
- binary: tfproviderlintx
env:
- CGO_ENABLED=0
goos:
- darwin
- windows
- linux
goarch:
- amd64
- 386
- arm64
id: tfproviderlintx
ldflags:
- -s -w -X github.com/bflad/tfproviderlint/version.Version={{.Version}} -X github.com/bflad/tfproviderlint/version.VersionPrerelease= -X github.com/bflad/tfproviderlint/version.GitCommit={{.ShortCommit}}
main: ./cmd/tfproviderlintx
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/tfproviderlint:{{ .Version }}'
- 'bflad/tfproviderlint:{{ .Major }}.{{ .Minor }}'
- 'bflad/tfproviderlint:latest'
milestones:
- close: true
signs:
- artifacts: checksum
args:
- "--batch"
- "--local-user"
- "{{ .Env.GPG_FINGERPRINT }}"
- "--output"
- "${signature}"
- "--detach-sign"
- "${artifact}"