-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yaml
61 lines (53 loc) · 1.26 KB
/
.goreleaser.yaml
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
builds:
- binary: cfparams
env:
- CGO_ENABLED=0
goos:
- darwin
- linux
- windows
goarch:
- amd64
- arm64
checksum:
name_template: "checksums.txt"
archives:
- format: "binary"
name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}"
snapshot:
name_template: "{{ incpatch .Version }}-next"
changelog:
use: github-native
sort: asc
filters:
exclude:
- "^build:"
- "^ci:"
- "^docs:"
- "^test:"
brews:
- name: cfparams
tap:
owner: cultureamp
name: homebrew-tap
commit_author:
name: cultureamp-ci
email: 36431315+cultureamp-ci@users.noreply.github.com
folder: Formula
homepage: https://github.com/cultureamp/cfparams
description: Wrangle parameters for AWS CloudFormation
test: |
minimal = testpath/"minimal.yaml"
minimal.write <<~EOS
Parameters:
TestParameter:
Type: String
Default: testvalue
Resources:
S3Bucket:
Type: AWS::S3::Bucket
EOS
system "#{bin}/cfparams --template=minimal.yaml"
install: |
bin.install "cfparams_{{ .Os }}_{{ .Arch }}" => "cfparams"
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json