1+ project_name: lambda-inventory
2+
3+ builds:
4+ -
5+ id: lambda-inventory
6+ main: ./cmd/cli
7+ binary: lambda-inventory
8+
9+ env:
10+ - CGO_ENABLED=0
11+ goos:
12+ - linux
13+ - darwin
14+ goarch:
15+ - amd64
16+ - arm64
17+
18+ archives:
19+ - name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
20+
21+ checksum:
22+ name_template: 'checksums.txt'
23+
24+ snapshot:
25+ name_template: "{{ incpatch .Version }}-next"
26+
27+ changelog:
28+ sort: asc
29+ filters:
30+ exclude:
31+ - '^docs:'
32+ - '^test:'
33+ # dockers:
34+ # # You can have multiple Docker images.
35+ # -
36+ # # ID of the image, needed if you want to filter by it later on (e.g. on custom publishers).
37+ # id: echo-server
38+
39+ # # GOOS of the built binaries/packages that should be used.
40+ # goos: linux
41+
42+ # # GOARCH of the built binaries/packages that should be used.
43+ # goarch: amd64
44+
45+ # # GOAMD64 of the built binaries/packages that should be used.
46+ # goamd64: 'v1'
47+
48+ # # IDs to filter the binaries/packages.
49+ # ids:
50+ # - echo-server
51+
52+ # # Templates of the Docker image names.
53+ # image_templates:
54+ # - "ghcr.io/jmoney/echo-server:latest"
55+ # - "ghcr.io/jmoney/echo-server:{{ .Tag }}"
56+ # - "ghcr.io/jmoney/echo-server:v{{ .Major }}"
57+
58+ # dockerfile: 'Dockerfile'
59+
60+ # use: docker
61+
62+ # .goreleaser.yaml
63+ brews:
64+ -
65+ name: "lambda-inventory@{{ .Tag }}"
66+
67+ repository:
68+ owner: jmoney
69+ name: homebrew-aws
70+
71+ branch: main
72+
73+ token: "{{ .Env.GITHUB_TOKEN }}"
74+
75+ # Git author used to commit to the repository.
76+ # Defaults are shown.
77+ commit_author:
78+ name: goreleaserbot
79+ email: release@jmoney.dev
80+
81+ commit_msg_template: "Brew formula update for {{ .ProjectName }} version {{ .Tag }}"
82+
83+ folder: Formula
84+
85+ homepage: "https://jmoney.dev/lambda-inventory"
86+
87+ description: "Takes inventory of the lambda service in AWS configured by a yaml file."
88+
89+ # SPDX identifier of your app's license.
90+ # Default is empty.
91+ license: "Apache 2.0"
92+
93+ # Setting this will prevent goreleaser to actually try to commit the updated
94+ # formula - instead, the formula file will be stored on the dist folder only,
95+ # leaving the responsibility of publishing it to the user.
96+ # If set to auto, the release will not be uploaded to the homebrew tap
97+ # in case there is an indicator for prerelease in the tag e.g. v1.0.0-rc1
98+ # Default is false.
99+ # skip_upload: true
100+
101+ # So you can `brew test` your formula.
102+ # Default is empty.
103+ test: |
104+ system "#{bin}/lambda-inventory -h"
105+
106+ # Custom install script for brew.
107+ # Default is 'bin.install "program"'.
108+ install: |
109+ bin.install "lambda-inventory"
110+ -
111+ name: "lambda-inventory"
112+
113+ repository:
114+ owner: jmoney
115+ name: homebrew-aws
116+
117+ branch: main
118+
119+ token: "{{ .Env.GITHUB_TOKEN }}"
120+
121+ # Git author used to commit to the repository.
122+ # Defaults are shown.
123+ commit_author:
124+ name: goreleaserbot
125+ email: release@jmoney.dev
126+
127+ commit_msg_template: "Brew formula update for {{ .ProjectName }} version {{ .Tag }}"
128+
129+ folder: Formula
130+
131+ homepage: "https://jmoney.dev/lambda-inventory"
132+
133+ description: "Takes inventory of the lambda service in AWS configured by a yaml file."
134+
135+ # SPDX identifier of your app's license.
136+ # Default is empty.
137+ license: "Apache 2.0"
138+
139+ # Setting this will prevent goreleaser to actually try to commit the updated
140+ # formula - instead, the formula file will be stored on the dist folder only,
141+ # leaving the responsibility of publishing it to the user.
142+ # If set to auto, the release will not be uploaded to the homebrew tap
143+ # in case there is an indicator for prerelease in the tag e.g. v1.0.0-rc1
144+ # Default is false.
145+ # skip_upload: true
146+
147+ # So you can `brew test` your formula.
148+ # Default is empty.
149+ test: |
150+ system "#{bin}/lambda-inventory -h"
151+
152+ # Custom install script for brew.
153+ # Default is 'bin.install "program"'.
154+ install: |
155+ bin.install "lambda-inventory"
0 commit comments