Skip to content

Commit 9ad17b1

Browse files
committed
fix: add exemples dir
1 parent b2b79a8 commit 9ad17b1

File tree

2 files changed

+18
-15
lines changed

2 files changed

+18
-15
lines changed

.goreleaser.yml

Lines changed: 18 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5,28 +5,31 @@ version: 2
55
builds:
66
- env:
77
- CGO_ENABLED=0
8-
mod_timestamp: '{{ .CommitTimestamp }}'
8+
mod_timestamp: "{{ .CommitTimestamp }}"
99
flags:
1010
- -trimpath
1111
ldflags:
12-
- '-s -w -X internal.version.Version={{.Version}} -X internal.version.Commit={{.Commit}} -X internal.version.BuildDate={{.CommitTimestamp}}'
12+
- "-s -w -X internal.version.Version={{.Version}} -X internal.version.Commit={{.Commit}} -X internal.version.BuildDate={{.CommitTimestamp}}"
1313
goos:
1414
- linux
1515
- darwin
1616
goarch:
1717
- amd64
1818
- arm
1919
- arm64
20-
binary: '{{ .ProjectName }}_v{{ .Version }}'
20+
binary: "{{ .ProjectName }}_v{{ .Version }}"
21+
2122
archives:
22-
- format: zip
23-
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}'
23+
- formats: [ 'zip' ]
24+
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
25+
2426
checksum:
2527
extra_files:
26-
- glob: 'terraform-registry-manifest.json'
27-
name_template: '{{ .ProjectName }}_{{ .Version }}_manifest.json'
28-
name_template: '{{ .ProjectName }}_{{ .Version }}_SHA256SUMS'
28+
- glob: "terraform-registry-manifest.json"
29+
name_template: "{{ .ProjectName }}_{{ .Version }}_manifest.json"
30+
name_template: "{{ .ProjectName }}_{{ .Version }}_SHA256SUMS"
2931
algorithm: sha256
32+
3033
signs:
3134
- artifacts: checksum
3235
args:
@@ -40,8 +43,8 @@ signs:
4043

4144
release:
4245
extra_files:
43-
- glob: 'terraform-registry-manifest.json'
44-
name_template: '{{ .ProjectName }}_{{ .Version }}_manifest.json'
46+
- glob: "terraform-registry-manifest.json"
47+
name_template: "{{ .ProjectName }}_{{ .Version }}_manifest.json"
4548
footer: |
4649
**Full Changelog**: https://github.com/formancehq/terraform-provider-stack/compare/{{ .PreviousTag }}...{{ .Tag }}
4750
## What to do next?
@@ -52,18 +55,18 @@ changelog:
5255
use: github
5356
filters:
5457
exclude:
55-
- '^docs:'
56-
- '^test:'
57-
- '^spec:'
58+
- "^docs:"
59+
- "^test:"
60+
- "^spec:"
5861
- Merge pull request
5962
- Merge remote-tracking branch
6063
- Merge branch
6164
- go mod tidy
6265
groups:
63-
- title: 'New Features'
66+
- title: "New Features"
6467
regexp: "^.*feat[(\\w)]*:+.*$"
6568
order: 0
66-
- title: 'Bug fixes'
69+
- title: "Bug fixes"
6770
regexp: "^.*fix[(\\w)]*:+.*$"
6871
order: 10
6972
- title: Other work

examples/.gitkeep

Whitespace-only changes.

0 commit comments

Comments
 (0)