-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
155 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,155 @@ | ||
project_name: lambda-inventory | ||
|
||
builds: | ||
- | ||
id: lambda-inventory | ||
main: ./cmd/cli | ||
binary: lambda-inventory | ||
|
||
env: | ||
- CGO_ENABLED=0 | ||
goos: | ||
- linux | ||
- darwin | ||
goarch: | ||
- amd64 | ||
- arm64 | ||
|
||
archives: | ||
- name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}" | ||
|
||
checksum: | ||
name_template: 'checksums.txt' | ||
|
||
snapshot: | ||
name_template: "{{ incpatch .Version }}-next" | ||
|
||
changelog: | ||
sort: asc | ||
filters: | ||
exclude: | ||
- '^docs:' | ||
- '^test:' | ||
# dockers: | ||
# # You can have multiple Docker images. | ||
# - | ||
# # ID of the image, needed if you want to filter by it later on (e.g. on custom publishers). | ||
# id: echo-server | ||
|
||
# # GOOS of the built binaries/packages that should be used. | ||
# goos: linux | ||
|
||
# # GOARCH of the built binaries/packages that should be used. | ||
# goarch: amd64 | ||
|
||
# # GOAMD64 of the built binaries/packages that should be used. | ||
# goamd64: 'v1' | ||
|
||
# # IDs to filter the binaries/packages. | ||
# ids: | ||
# - echo-server | ||
|
||
# # Templates of the Docker image names. | ||
# image_templates: | ||
# - "ghcr.io/jmoney/echo-server:latest" | ||
# - "ghcr.io/jmoney/echo-server:{{ .Tag }}" | ||
# - "ghcr.io/jmoney/echo-server:v{{ .Major }}" | ||
|
||
# dockerfile: 'Dockerfile' | ||
|
||
# use: docker | ||
|
||
# .goreleaser.yaml | ||
brews: | ||
- | ||
name: "lambda-inventory@{{ .Tag }}" | ||
|
||
repository: | ||
owner: jmoney | ||
name: homebrew-aws | ||
|
||
branch: main | ||
|
||
token: "{{ .Env.GITHUB_TOKEN }}" | ||
|
||
# Git author used to commit to the repository. | ||
# Defaults are shown. | ||
commit_author: | ||
name: goreleaserbot | ||
email: release@jmoney.dev | ||
|
||
commit_msg_template: "Brew formula update for {{ .ProjectName }} version {{ .Tag }}" | ||
|
||
folder: Formula | ||
|
||
homepage: "https://jmoney.dev/lambda-inventory" | ||
|
||
description: "Takes inventory of the lambda service in AWS configured by a yaml file." | ||
|
||
# SPDX identifier of your app's license. | ||
# Default is empty. | ||
license: "Apache 2.0" | ||
|
||
# Setting this will prevent goreleaser to actually try to commit the updated | ||
# formula - instead, the formula file will be stored on the dist folder only, | ||
# leaving the responsibility of publishing it to the user. | ||
# If set to auto, the release will not be uploaded to the homebrew tap | ||
# in case there is an indicator for prerelease in the tag e.g. v1.0.0-rc1 | ||
# Default is false. | ||
# skip_upload: true | ||
|
||
# So you can `brew test` your formula. | ||
# Default is empty. | ||
test: | | ||
system "#{bin}/lambda-inventory -h" | ||
|
||
# Custom install script for brew. | ||
# Default is 'bin.install "program"'. | ||
install: | | ||
bin.install "lambda-inventory" | ||
- | ||
name: "lambda-inventory" | ||
|
||
repository: | ||
owner: jmoney | ||
name: homebrew-aws | ||
|
||
branch: main | ||
|
||
token: "{{ .Env.GITHUB_TOKEN }}" | ||
|
||
# Git author used to commit to the repository. | ||
# Defaults are shown. | ||
commit_author: | ||
name: goreleaserbot | ||
email: release@jmoney.dev | ||
|
||
commit_msg_template: "Brew formula update for {{ .ProjectName }} version {{ .Tag }}" | ||
|
||
folder: Formula | ||
|
||
homepage: "https://jmoney.dev/lambda-inventory" | ||
|
||
description: "Takes inventory of the lambda service in AWS configured by a yaml file." | ||
|
||
# SPDX identifier of your app's license. | ||
# Default is empty. | ||
license: "Apache 2.0" | ||
|
||
# Setting this will prevent goreleaser to actually try to commit the updated | ||
# formula - instead, the formula file will be stored on the dist folder only, | ||
# leaving the responsibility of publishing it to the user. | ||
# If set to auto, the release will not be uploaded to the homebrew tap | ||
# in case there is an indicator for prerelease in the tag e.g. v1.0.0-rc1 | ||
# Default is false. | ||
# skip_upload: true | ||
|
||
# So you can `brew test` your formula. | ||
# Default is empty. | ||
test: | | ||
system "#{bin}/lambda-inventory -h" | ||
|
||
# Custom install script for brew. | ||
# Default is 'bin.install "program"'. | ||
install: | | ||
bin.install "lambda-inventory" |