|
| 1 | +version: 2 |
1 | 2 | archives:
|
2 |
| -- |
3 |
| - format_overrides: |
4 |
| - - goos: windows |
5 |
| - format: zip |
| 3 | + - format_overrides: |
| 4 | + - goos: windows |
| 5 | + format: zip |
6 | 6 | before:
|
7 | 7 | hooks:
|
8 | 8 | - go mod download
|
9 | 9 | brews:
|
10 |
| -- |
11 |
| - dependencies: |
12 |
| - - go |
13 |
| - description: Terraform Provider Documentation Tool |
14 |
| - directory: Formula |
15 |
| - repository: |
16 |
| - owner: bflad |
17 |
| - name: homebrew-tap |
18 |
| - homepage: https://github.com/bflad/tfproviderdocs |
19 |
| - install: | |
20 |
| - bin.install "tfproviderdocs" |
21 |
| - test: | |
22 |
| - system "#{bin}/tfproviderdocs -v" |
| 10 | + - dependencies: |
| 11 | + - go |
| 12 | + description: Terraform Provider Documentation Tool |
| 13 | + directory: Formula |
| 14 | + repository: |
| 15 | + owner: bflad |
| 16 | + name: homebrew-tap |
| 17 | + homepage: https://github.com/bflad/tfproviderdocs |
| 18 | + install: | |
| 19 | + bin.install "tfproviderdocs" |
| 20 | + test: | |
| 21 | + system "#{bin}/tfproviderdocs -v" |
23 | 22 | builds:
|
24 |
| -- |
25 |
| - env: |
26 |
| - - CGO_ENABLED=0 |
27 |
| - goos: |
28 |
| - - darwin |
29 |
| - - windows |
30 |
| - - linux |
31 |
| - goarch: |
32 |
| - - amd64 |
33 |
| - - arm64 |
34 |
| - - 386 |
35 |
| - ldflags: |
36 |
| - - -s -w -X github.com/bflad/tfproviderdocs/version.Version={{.Version}} -X github.com/bflad/tfproviderdocs/version.VersionPrerelease= |
37 |
| - main: . |
| 23 | + - env: |
| 24 | + - CGO_ENABLED=0 |
| 25 | + goos: |
| 26 | + - darwin |
| 27 | + - windows |
| 28 | + - linux |
| 29 | + goarch: |
| 30 | + - amd64 |
| 31 | + - arm64 |
| 32 | + - 386 |
| 33 | + ldflags: |
| 34 | + - -s -w -X github.com/bflad/tfproviderdocs/version.Version={{.Version}} -X github.com/bflad/tfproviderdocs/version.VersionPrerelease= |
| 35 | + main: . |
38 | 36 | changelog:
|
39 |
| - skip: true |
| 37 | + disable: true |
40 | 38 | dockers:
|
41 |
| -- |
42 |
| - build_flag_templates: |
43 |
| - - "--label=org.label-schema.schema-version=1.0" |
44 |
| - - "--label=org.label-schema.version={{.Version}}" |
45 |
| - - "--label=org.label-schema.name={{.ProjectName}}" |
46 |
| - image_templates: |
47 |
| - - 'bflad/tfproviderdocs:{{ .Version }}' |
48 |
| - - 'bflad/tfproviderdocs:{{ .Major }}.{{ .Minor }}' |
49 |
| - - 'bflad/tfproviderdocs:latest' |
| 39 | + - build_flag_templates: |
| 40 | + - "--label=org.label-schema.schema-version=1.0" |
| 41 | + - "--label=org.label-schema.version={{.Version}}" |
| 42 | + - "--label=org.label-schema.name={{.ProjectName}}" |
| 43 | + image_templates: |
| 44 | + - 'bflad/tfproviderdocs:{{ .Version }}' |
| 45 | + - 'bflad/tfproviderdocs:{{ .Major }}.{{ .Minor }}' |
| 46 | + - 'bflad/tfproviderdocs:latest' |
50 | 47 | milestones:
|
51 |
| -- |
52 |
| - close: true |
| 48 | + - close: true |
53 | 49 | signs:
|
54 |
| -- |
55 |
| - artifacts: checksum |
56 |
| - args: |
57 |
| - - "--batch" |
58 |
| - - "--local-user" |
59 |
| - - "{{ .Env.GPG_FINGERPRINT }}" |
60 |
| - - "--output" |
61 |
| - - "${signature}" |
62 |
| - - "--detach-sign" |
63 |
| - - "${artifact}" |
| 50 | + - artifacts: checksum |
| 51 | + args: |
| 52 | + - "--batch" |
| 53 | + - "--local-user" |
| 54 | + - "{{ .Env.GPG_FINGERPRINT }}" |
| 55 | + - "--output" |
| 56 | + - "${signature}" |
| 57 | + - "--detach-sign" |
| 58 | + - "${artifact}" |
0 commit comments