Skip to content

Commit

Permalink
chore(homebrew): Enable releasing via Homebrew
Browse files Browse the repository at this point in the history
  • Loading branch information
therealvio committed May 9, 2023
1 parent 7aa5172 commit 027b8d1
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,40 @@ snapshot:

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: [email protected]

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

0 comments on commit 027b8d1

Please sign in to comment.